Media Node Allocations
The Media Node Allocations module is responsible for assigning Media Nodes to Clients and managing connections between Media Nodes in case of cascading scenarios. Cascading enables the Chroom network to optimize resource utilization and enhance performance, especially in large-scale deployments. For more details on cascading, refer to the Cascading section under the Media Nodes documentation.

Allocation Process
When a Client requests real-time communication services, the allocation process follows these steps:
Querying the Registry: The Orchestrator queries the Registry to find available Media Nodes and obtain details such as node availability, capacity, and resource status.
Decision Making: Using information such as geographic location, bandwidth capacity, and network health, the Orchestrator determines which Media Node is best suited to service the Client’s request.
Media Node Assignment: The chosen Media Node is then allocated to the Client to provide real-time communication services such as audio, video, or data streams.
Custom Application Features
The Orchestrator provides a highly customizable framework that allows Clients and developers to implement their own business logic. This enables the Chroom network to be used for a wide variety of applications tailored to specific use cases. The flexibility of the Orchestrator ensures that developers can create optimized solutions by managing Media Nodes and defining application-specific logic.
Use Cases for Custom Application Features:
Host Assignment in Video Meetings In a video conferencing application, the Orchestrator can intelligently assign the "host" role to a specific participant. The host can be granted special privileges such as:
Content Delivery Network (CDN) Optimization The Orchestrator can optimize the Chroom network for content delivery by strategically allocating Media Nodes and managing media stream flow. Factors considered include:
Audio-Only Transmission For applications focused on audio transmission, such as voice calls, audio spaces, or podcasting, the Orchestrator can prioritize audio delivery. In these scenarios:
Adaptive Cascading Strategies The Orchestrator can dynamically select and apply different cascading strategies based on real-time application requirements and network conditions. Available strategies include:
The Orchestrator’s custom logic allows the host to be chosen based on factors like:
The order of joining
User roles
Explicit selection by participants
By adapting the cascading strategy on-the-fly, the Orchestrator ensures that the network adapts to varying conditions, optimizing load balancing, latency, and content distribution for each unique use case.
Integration with Existing Application Logic
The RPC-driven architecture of the Chroom network enables seamless integration with existing application logic, making it easy for developers to define custom behaviors and policies. This flexibility ensures that applications using Chroom can deliver tailored, high-performance experiences to their users while optimizing resource usage and minimizing latency.
Last updated
