Load Balancing in Catena
Increasing number of viewers causes growing server load. To avoid server's overload load balancing is used. It efficiently distributes the network traffic across the number of servers to keep your viewers happy and to prevent video stream from interrupting.
Flussonic can balance users between several Flussonic Media Server nodes. Load balancing is achieved by redirecting client requests to another, less loaded server in a cluster.
To auto-balance clients in a cluster, we recommend using Flussonic Catena instead of the deprecated IPTV plugin.
You can install and use Catena if you have a Flussonic license. You can install it on a separate machine or together with Flussonic, but in the latter case change the HTTP port in Flussonic configuration to something other than 80 because port 80 is required for Catena.
Catena has two types of load-balancing: pipeline-based and automatic balancing, and the automatic balancing works exactly the same way as the balancing based on the deprecated IPTV plugin. So don’t worry if you have never used Catena and are not planning to use its pipeline mechanism.
There are 2 types of load balancing mechanisms in Flussonic Catena:
- Pipeline balancer
If a requested stream was found in the Catena database, then the stream's URL is given to a client device according to pipeline rules. In this case, Catena "knows" which server is playing which role and how many Edge servers are available, and chooses a less loaded server.
This is a more flexible way to configure balancing in Catena and it is automatically enabled when a stream is added into Catena.
If the requested stream is not in the Catena database, then Catena will try to find this stream on all Flussonic servers that are connected to Catena. In this case, Catena will not "know" which server is Origin and which is Edge.
Autobalancer is a simple and effective solution if you already have servers with configured streams. Just add these servers into Catena, and Catena will find all streams and balance the subscribers between servers.
If you want to to exclude a server (streamer) from the pool of servers that the Automatic balancer can use, turn off the Autobalancer option in the settings of this server.
To auto-balance load in a cluster by using Catena:
- Go to the Catena UI and add servers
- Turn on Autobalancing for each Flussonic server.
- If you had cluster configuration (as was used in earlier Flussonic versions) on the Flussonic servers, remove this configuration.
- To request the channels, сlient devices must use the following URL: