[Freeswitch-users] Load Balancing

A E G all.eforums at gmail.com
Sat Jul 7 01:35:36 MSD 2012


On Fri, Jul 6, 2012 at 12:03 PM, Hanie Maghsoudy <h.maghsoudy at gmail.com>wrote:

> Thanks, But I think distributor module works for routing calls after FS
> receives them. I plan to have a cluster of FreeSwitches, so that I can
> balance the load of my incoming calls.
>
>
Yes, but we had FS at the head-end of a cluster of FS boxes. No one said FS
can only sit at the core ;) The other benefit you get with it is ALG type
functionality (with some configuration). DNS isn't a good way to do this as
it has no sense of context of what is being sent (SRV does though, but is
not widely supported by many ISPs or domain name providers, unless you run
your own DNS servers) and will blindly RR between IPs whether it is up or
down or worse hung ...so if you have 3 machine farm, and one of them is
hung, 1 in 3 calls will fail. Proper load-balancing should have context and
awareness of the application as well the downstream server to which the
call should or should not be sent to if it's not capable of servicing the
call.


> On Fri, Jul 6, 2012 at 8:32 AM, A E G <all.eforums at gmail.com> wrote:
>
>>
>> On Wed, Jul 4, 2012 at 5:53 AM, Hanie Maghsoudy <h.maghsoudy at gmail.com>wrote:
>>
>>> Thanks Muhammad, that would be a good idea.
>>> However, I'm trying direct routing mode of IPVS for load balancing along
>>> with Heartbeat for HA.
>>> Could anyone of you guys suggest a better way to implement Load
>>> balancing and HA for FreeSwitch?
>>>
>>> Thanks
>>>
>>>
>> Not sure about HA, but the call distributor module:
>> http://wiki.freeswitch.org/wiki/Mod_distributor used to work well for us
>> ...haven't used it for a while now. Not sure if anything has changed in
>> newer builds.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120706/180806b2/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list