[Freeswitch-users] Brainstorming load balancing feature - dispatcher & FS

jay binks jaybinks at gmail.com
Mon Feb 17 04:45:32 MSK 2014


So I want to bash out a feature I was thinking of, please can anyone chime
in some ideas on this.

So its easy to have OpenSIP / Kamailio ( dispatcher ) send SIP Options to
FS to see if its responding ..  this is great ...

My request would be to have some kind of control over the response FS Sends
back.
What I would love is to respond with idle CPU , current SPS / Max SPS or
channels / Max Channels.

This is only a high level "this would be nice" , so I havnt totally thought
this through but...
we would have to provide an ACL for who to provide this back to,  coz I
wouldnt really want any old guy on the internet sending me options and me
respond going ... oh yea bro, Im at 90% ... dont have to try hard to DDOS
Me.. :)

but yea... if we could give this back to the load balancers, then we could
easily instruct them to back traffic off to this gateway.

the next part is , how do you back off the traffic.
one option is to have FS respond differently if any of these are close to
thresholds.
or to provide these values in custom headers, but that would require
changes in dispatcher ( which is ok I Guess )

anyways... I wanted some input on peoples thoughts here..
let me know what you think.


Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140217/faeb235e/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list