Suggestions for a UDP/Websockets Load balancer

2015-09-17 Thread Abdul Hakeem
Hello experts,

I am hoping to anyone could share tips on how to create a UDP/Websockets Lua
based script to load balance traffic to SIP backend servers.
The script should be sip aware, and be able to keep, add or modify Via headers,
track connections to which SIP clients is registered to .

Is this do-able from the perspective of the experts on this list ?.

Cheers,
Abdul Hakeem






Re: Suggestions for a UDP/Websockets Load balancer

2015-09-17 Thread Jeff Palmer
Websockets uses TCP, and thus can be load balanced like any other TCP
service. As for the sip/UDP part, haproxy doesn't support UDP, so that
won't be an option.

That said, there is still hope.  SIP is already capable of load balancing
and failure itself via the use of DNS SRV records.  You lose some of the
benefits of a proxy (throttling, central points of management, etc) but you
can easily make SIP itself fault tolerant and redundant.

I haven't looked into this in a few years, but unless something has changed
recently, this information should still be accurate.  Hope it helps!
On Sep 17, 2015 8:38 AM, "Abdul Hakeem"  wrote:

> Hello experts,
>
> I am hoping to anyone could share tips on how to create a UDP/Websockets
> Lua
> based script to load balance traffic to SIP backend servers.
> The script should be sip aware, and be able to keep, add or modify Via
> headers,
> track connections to which SIP clients is registered to .
>
> Is this do-able from the perspective of the experts on this list ?.
>
> Cheers,
> Abdul Hakeem
>
>
>
>
>