Wowza Community

Custom Load Balancing RTMP

Hi all,

I’m evaluating Dynamic Load Balancer AddOn as a solution to balance incoming RTMP streams on two or more wowza server.

In our scenario balancing decision must be based on the name of the incoming stream: stream names starting with the same string must be sent to the same server

In example:

stream 1234_Alice connects and is redirected to server1 which is the least loaded at the moment,

stream ABCD_Alice connects and is redirected to server2 which is the least loaded at the moment,

Then stream 1234_Bob arrives and it needs to be redirected to the very same server as 1234_Alice was, no matter load or bandwidth, they need to be on the same wowza server.

How can achieve this? (BTW, is the example clear?)

I’ve read the Dynamic Load Balancer AddOn 4.5 documentation, but could not really figure out how can I customize the decision process.

The documentation mentions a loadbalanceServerProcessClasses property defined as:

A pipe-separated list of classes to load for server decision-making. When this property is set, it overrides all default decision classes. If any of the classes are not found, it is reported but won’t stop the Load Balancer from starting.

But I can not figure out if those loadbalanceServerProcessClasses can include custom classes implementing a common interface or am I on the wrong track ?

Thanks in advance for any help

Best Regards

Silvia

Checking into this type of custumization for you @Silvia Randagia. In the meantime, making sure you saw the code samples we have for load balancing:

http://www.wowza.com/resources/WowzaDynamicLoadBalancingAddOn_UsersGuide.pdf

Hi Rose,

thank for your quick answer, unfortuntely I have already checked the examples in

https://www.wowza.com/downloads/forums/loadbalancer/WowzaStreamingEngineLoadBalancer-4.5.0.zip

but none of them (as far as I understood) was answering directly my question.

I’ll wait for further details

Thanks

Silvia

Ok thanks for letting me know and I will continue to research some solutions to share with you. Thanks for your patience.