Multi Level Cluster
What is Multi-Level Cluster?
A cluster which has different regions is called Multi-Level Cluster where each region has its own origin for a stream. Ant Media Server can be scaled in different physical locations. You can set the node group parameter of the servers to create regions. Separating the nodes into regions based on their physical location has some advantages in performance and data-transfer. Because each region will have their own origin node for a stream, the edges in a region will pull the stream from the origin of their region.
How does it work?
Let's clarify the the case with an example scenario. We have two scenarios
- Publisher & Players in the same cluster
- Publisher & Players in the different clusters
Let's remember the traditional scenario
Publisher & Players in the same cluster
Publisher
starts a stream and it is assigned to theOrigin1
instance in theRegion1
Player1
who is close toRegion1
instance requests to play the stream.Player1
is assigned toEdge11
instance to receive the stream inRegion1
- Since the
Origin1
is the origin of the stream,Edge11
will pull stream fromOrigin1
.