Relay servers are recommended for the use case of one (or a few) broadcasters to many subscribers. They are basically repeaters which boost the signal of the broadcast.
Relay nodes autoscale according to the number of edges and alarm threshold value. The
maxLimit for relays nodes should be the same as for your edge servers. When you set the
maxLimit for your edge servers, you should divide that by your edge
connectionCapacity to determine the number of relay servers that you will need, and then set that as the
maxLimit for your relays.
Example: This is a one to many scenario, but it's for a large event. One broadcaster/one stream, but over 1,000,000 subscribers.
- origin server
connectionCapacityset to 50.
- edge server
connectionCapacityset to 400.
- Given the connection capacity of the edges, we would need 2,500 edge servers to support 1,000,000 subscribers.
2,500/400=6.25, so the
maxLimitfor the relay nodes can be set to 7.