Most Scalable Way To Control FreeSwitch.
What is the most scalable way to control FreeSwitch Routing dynamically (apart from XML configs) that has the least load on FreeSwitch and scales the best. This is to help achieve the most Call Setups Per Second (CPS) eg xml_rpc, lua, event socket etc Joe
I use xml_curl, reads config from a central server so is replicated across you whole cluster, and directory/dialplan are requested every call (but supply filter parameters) and in effect dynamic if you generate these from a web service. On 29 March 2012 07:56, Joe Flemmings <joe.jflemmings@gmail.com> wrote:
What is the most scalable way to control FreeSwitch Routing dynamically (apart from XML configs) that has the least load on FreeSwitch and scales the best. This is to help achieve the most Call Setups Per Second (CPS)
eg xml_rpc, lua, event socket etc
Joe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk W: www.cassidywebservices.co.uk
Yes, I agree there. If you empty out your dialplan and only use curl, then FS hardly has to do anything to route the call, it just waits for a response and then executes the little snippet that comes back. Make your web script really efficient and have it send back a list of dialplan instructions. It's still a good idea to have a bit of XML dialplan locally to handle emergency routing, ie. 911 and 611 if possible. That way, if something happens to your web servers, people can at least call for help, and maybe still call you to complain about it. Then again, maybe you don't want that :-) -Tim Andrew Cassidy wrote:
I use xml_curl, reads config from a central server so is replicated across you whole cluster, and directory/dialplan are requested every call (but supply filter parameters) and in effect dynamic if you generate these from a web service.
On 29 March 2012 07:56, Joe Flemmings <joe.jflemmings@gmail.com <mailto:joe.jflemmings@gmail.com>> wrote:
What is the most scalable way to control FreeSwitch Routing dynamically (apart from XML configs) that has the least load on FreeSwitch and scales the best. This is to help achieve the most Call Setups Per Second (CPS)
eg xml_rpc, lua, event socket etc
Joe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk <mailto:andrew@cassidywebservices.co.uk> W: www.cassidywebservices.co.uk <http://www.cassidywebservices.co.uk>
------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
xml_curl leaves much to be desired. For one, when you're dealing with a lot of traffic, it gets pretty slow. Come up with something that accomplishes these goals: - Fast - Redundant - High Availability - No single point of failure - Simple as can be It's a tall order and requires a ton of skills and some excellent planning. It is not for the faint of heart. I've been dealing with this problem for many months, and I still really don't have a solution. I've got other goals besides these, but I'd start with that list. -BDF On Thu, Mar 29, 2012 at 12:05 PM, Tim St. Pierre < fs-list@communicatefreely.net> wrote:
Yes, I agree there.
If you empty out your dialplan and only use curl, then FS hardly has to do anything to route the call, it just waits for a response and then executes the little snippet that comes back. Make your web script really efficient and have it send back a list of dialplan instructions.
It's still a good idea to have a bit of XML dialplan locally to handle emergency routing, ie. 911 and 611 if possible. That way, if something happens to your web servers, people can at least call for help, and maybe still call you to complain about it. Then again, maybe you don't want that :-)
-Tim
Andrew Cassidy wrote:
I use xml_curl, reads config from a central server so is replicated across you whole cluster, and directory/dialplan are requested every call (but supply filter parameters) and in effect dynamic if you generate these from a web service.
On 29 March 2012 07:56, Joe Flemmings <joe.jflemmings@gmail.com <mailto:joe.jflemmings@gmail.com>> wrote:
What is the most scalable way to control FreeSwitch Routing dynamically (apart from XML configs) that has the least load on FreeSwitch and scales the best. This is to help achieve the most Call Setups Per Second (CPS)
eg xml_rpc, lua, event socket etc
Joe
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk <mailto:andrew@cassidywebservices.co.uk> W: www.cassidywebservices.co.uk <http://www.cassidywebservices.co.uk>
------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
My question was very specific, speed or system resource utilization. Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc. I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/ so between lua, xml_curl and event socket. On Thu, Mar 29, 2012 at 12:07 PM, Brian Foster <bdfoster@endigotech.com>wrote:
xml_curl leaves much to be desired. For one, when you're dealing with a lot of traffic, it gets pretty slow.
Come up with something that accomplishes these goals:
- Fast - Redundant - High Availability - No single point of failure - Simple as can be
It's a tall order and requires a ton of skills and some excellent planning. It is not for the faint of heart. I've been dealing with this problem for many months, and I still really don't have a solution. I've got other goals besides these, but I'd start with that list.
-BDF
On Thu, Mar 29, 2012 at 12:05 PM, Tim St. Pierre < fs-list@communicatefreely.net> wrote:
Yes, I agree there.
If you empty out your dialplan and only use curl, then FS hardly has to do anything to route the call, it just waits for a response and then executes the little snippet that comes back. Make your web script really efficient and have it send back a list of dialplan instructions.
It's still a good idea to have a bit of XML dialplan locally to handle emergency routing, ie. 911 and 611 if possible. That way, if something happens to your web servers, people can at least call for help, and maybe still call you to complain about it. Then again, maybe you don't want that :-)
-Tim
Andrew Cassidy wrote:
I use xml_curl, reads config from a central server so is replicated across you whole cluster, and directory/dialplan are requested every call (but supply filter parameters) and in effect dynamic if you generate these from a web service.
On 29 March 2012 07:56, Joe Flemmings <joe.jflemmings@gmail.com <mailto:joe.jflemmings@gmail.com>> wrote:
What is the most scalable way to control FreeSwitch Routing dynamically (apart from XML configs) that has the least load on FreeSwitch and scales the best. This is to help achieve the most Call Setups Per Second (CPS)
eg xml_rpc, lua, event socket etc
Joe
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk <mailto:andrew@cassidywebservices.co.uk> W: www.cassidywebservices.co.uk <http://www.cassidywebservices.co.uk>
------------------------------------------------------------------------
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA
This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware... -MC
The problem is not the number of simultaneous calls but cps. I'm doing thousands of simultaneous calls too and that's not an issue. I'm using 64 bit machines and just started tests this week. The most expensive system call right now is select and trying to isolate where its coming from. The issue is not the number of calls but cps. On Thu, Mar 29, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware...
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
What is the cps you are expecting? * <http://www.sunteltech.ca/blog/>* On Thu, Mar 29, 2012 at 3:37 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
The problem is not the number of simultaneous calls but cps. I'm doing thousands of simultaneous calls too and that's not an issue. I'm using 64 bit machines and just started tests this week. The most expensive system call right now is select and trying to isolate where its coming from. The issue is not the number of calls but cps.
On Thu, Mar 29, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings <joe.jflemmings@gmail.com
wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware...
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Right now having issue from about 80-90. The kind of traffic we run i high bust and short traffic. so cps is most important for me. I'm also looking into different Linux options to improve this. Joe On Thu, Mar 29, 2012 at 12:42 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
What is the cps you are expecting?
* <http://www.sunteltech.ca/blog/>*
On Thu, Mar 29, 2012 at 3:37 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
The problem is not the number of simultaneous calls but cps. I'm doing thousands of simultaneous calls too and that's not an issue. I'm using 64 bit machines and just started tests this week. The most expensive system call right now is select and trying to isolate where its coming from. The issue is not the number of calls but cps.
On Thu, Mar 29, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings < joe.jflemmings@gmail.com> wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware...
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
How about putting the database in a ramdrive? -MC On Thu, Mar 29, 2012 at 12:47 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
Right now having issue from about 80-90. The kind of traffic we run i high bust and short traffic. so cps is most important for me. I'm also looking into different Linux options to improve this.
Joe
On Thu, Mar 29, 2012 at 12:42 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
What is the cps you are expecting?
* <http://www.sunteltech.ca/blog/>*
On Thu, Mar 29, 2012 at 3:37 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
The problem is not the number of simultaneous calls but cps. I'm doing thousands of simultaneous calls too and that's not an issue. I'm using 64 bit machines and just started tests this week. The most expensive system call right now is select and trying to isolate where its coming from. The issue is not the number of calls but cps.
On Thu, Mar 29, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings < joe.jflemmings@gmail.com> wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware...
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Have already done this. On Thu, Mar 29, 2012 at 1:00 PM, Michael Collins <msc@freeswitch.org> wrote:
How about putting the database in a ramdrive? -MC
On Thu, Mar 29, 2012 at 12:47 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
Right now having issue from about 80-90. The kind of traffic we run i high bust and short traffic. so cps is most important for me. I'm also looking into different Linux options to improve this.
Joe
On Thu, Mar 29, 2012 at 12:42 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
What is the cps you are expecting?
* <http://www.sunteltech.ca/blog/>*
On Thu, Mar 29, 2012 at 3:37 PM, Joe Flemmings <joe.jflemmings@gmail.com
wrote:
The problem is not the number of simultaneous calls but cps. I'm doing thousands of simultaneous calls too and that's not an issue. I'm using 64 bit machines and just started tests this week. The most expensive system call right now is select and trying to isolate where its coming from. The issue is not the number of calls but cps.
On Thu, Mar 29, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings < joe.jflemmings@gmail.com> wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware...
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
How "expensive"/complex is each call routing? Are you doing complex LCR and pricing lookups? Simple routing on regex? A LONG regex list? 1 sql query to pick a route based on the incoming DID...? -Avi On Thu, Mar 29, 2012 at 9:47 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
Right now having issue from about 80-90. The kind of traffic we run i high bust and short traffic. so cps is most important for me. I'm also looking into different Linux options to improve this.
Joe
On Thu, Mar 29, 2012 at 12:42 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
What is the cps you are expecting?
* <http://www.sunteltech.ca/blog/>*
On Thu, Mar 29, 2012 at 3:37 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
The problem is not the number of simultaneous calls but cps. I'm doing thousands of simultaneous calls too and that's not an issue. I'm using 64 bit machines and just started tests this week. The most expensive system call right now is select and trying to isolate where its coming from. The issue is not the number of calls but cps.
On Thu, Mar 29, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings < joe.jflemmings@gmail.com> wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware...
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
For testing was only doing very simple routing. i'll need to do some tests on a call that i was making that could be an issue. So still need to do some tests On Thu, Mar 29, 2012 at 1:03 PM, Avi Marcus <avi@avimarcus.net> wrote:
How "expensive"/complex is each call routing? Are you doing complex LCR and pricing lookups? Simple routing on regex? A LONG regex list? 1 sql query to pick a route based on the incoming DID...?
-Avi
On Thu, Mar 29, 2012 at 9:47 PM, Joe Flemmings <joe.jflemmings@gmail.com>wrote:
Right now having issue from about 80-90. The kind of traffic we run i high bust and short traffic. so cps is most important for me. I'm also looking into different Linux options to improve this.
Joe
On Thu, Mar 29, 2012 at 12:42 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
What is the cps you are expecting?
* <http://www.sunteltech.ca/blog/>*
On Thu, Mar 29, 2012 at 3:37 PM, Joe Flemmings <joe.jflemmings@gmail.com
wrote:
The problem is not the number of simultaneous calls but cps. I'm doing thousands of simultaneous calls too and that's not an issue. I'm using 64 bit machines and just started tests this week. The most expensive system call right now is select and trying to isolate where its coming from. The issue is not the number of calls but cps.
On Thu, Mar 29, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 29, 2012 at 12:15 PM, Joe Flemmings < joe.jflemmings@gmail.com> wrote:
My question was very specific, speed or system resource utilization.
Which has the least load of FreeSwitch? I can always look for different ways to accomplish other tasks like redundancy etc.
I have tried both xml_curl and lua and under high load the system level calls are killing me. I was wondering if event socket are a better way to go/
so between lua, xml_curl and event socket.http://www.freeswitch.org
I'm curious - what system level calls are killing your system when you use xml_curl? (Or Lua, etc.) I can refer you to Ken Rice who does thousands upon thousands of calls a day, many simultaneously. I'm sure he's got some good insights on this. Also, make sure that you're not on crappy hardware or doing something silly like running a 32 bit OS on 64 bit hardware...
-MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
For CPS, generally speaking, the FreeSWITCH dynamic configuration methods rank in this order of performance (best to worst): - mod_xml_curl - lua - event socket I haven't tested any others but xml_curl should be fine at 80-90 cps. How are you profiling this to make sure your issue isn't elsewhere? On Thu, Mar 29, 2012 at 3:47 PM, Joe Flemmings <joe.jflemmings@gmail.com> wrote:
Right now having issue from about 80-90. The kind of traffic we run i high bust and short traffic. so cps is most important for me. I'm also looking into different Linux options to improve this.
Joe
-- Kristian Kielhofner
Thank you, this is what i was asking for. On Thu, Mar 29, 2012 at 1:08 PM, Kristian Kielhofner <kris@kriskinc.com>wrote:
For CPS, generally speaking, the FreeSWITCH dynamic configuration methods rank in this order of performance (best to worst):
- mod_xml_curl - lua - event socket
I haven't tested any others but xml_curl should be fine at 80-90 cps. How are you profiling this to make sure your issue isn't elsewhere?
On Thu, Mar 29, 2012 at 3:47 PM, Joe Flemmings <joe.jflemmings@gmail.com> wrote:
Right now having issue from about 80-90. The kind of traffic we run i high bust and short traffic. so cps is most important for me. I'm also looking into different Linux options to improve this.
Joe
-- Kristian Kielhofner
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 29 March 2012 09:49, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:
I use xml_curl, reads config from a central server so is replicated across you whole cluster, and directory/dialplan are requested every call (but supply filter parameters) and in effect dynamic if you generate these from a web service.
Hi Andrew, Out of interest are you using LDAP at all and LDAP filters? Thanks. -- http://www.suretecsystems.com/services/openldap/ http://www.surevoip.co.uk
Hi Gavin, I'm not at the moment but you're not the first person to ask me about LDAP. What do you want to use LDAP for? Just the directory? I believe there is a mod_ldap which can already handle that, but querying LDAP in <insert language here> and formatting the result as XML in the form freeswitch is expecting shouldn't be difficult. On 20 June 2012 01:36, Gavin Henry <gavin.henry@gmail.com> wrote:
On 29 March 2012 09:49, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:
I use xml_curl, reads config from a central server so is replicated across you whole cluster, and directory/dialplan are requested every call (but supply filter parameters) and in effect dynamic if you generate these from a web service.
Hi Andrew,
Out of interest are you using LDAP at all and LDAP filters?
Thanks.
-- http://www.suretecsystems.com/services/openldap/ http://www.surevoip.co.uk
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T <info@cassidywebservices.co.uk> *03300 100 960 *F<info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk
participants (9)
-
Andrew Cassidy
-
Avi Marcus
-
Brian Foster
-
Gavin Henry
-
Joe Flemmings
-
Kristian Kielhofner
-
Lloyd Aloysius
-
Michael Collins
-
Tim St. Pierre