[Freeswitch-users] Central FreeSWITCH nodes management with Mod_XML_Curl vs Mod_Lua

Kristian Kielhofner kris at kriskinc.com
Wed Jul 18 04:07:34 MSD 2012


In my testing from a few months ago mod_xml_curl provided the best
performance with FreeSWITCH (in terms of CPS).  Additionally, as
others have noted, scaling HTTP is a well known problem.

There are very few cases where mod_xml_curl and your preferred web
technology would not be the ideal solution.

On Tue, Jul 17, 2012 at 12:33 PM, Eugene Azuka <eugeneazuka at gmail.com> wrote:
> Hi FreeSWITCH experts,
>
> My question is as regards performance and which is the best option.
>
> I am trying to scale and manage multiple nodes of FreeSWITCH centrally from
> my external web server/site using Mod_XML_Curl, But someone more experience
> than me says otherwise that Mod_XML_Curl may not be the best option: Here is
> his statement below:
>
> " The thing I don't like about mod_xml_curl is that to scale it you have to
> scale the web server with more listeners. If you run out of listeners your
> ability to answer new calls fails. If the web server crashes your ability to
> handle calls is gone.
>
> Instead, I use Lua which is embedded into FreeSWITCH as the XML handler. The
> Lua reads the info from the database and hands it off to FreeSWITCH. This
> approach is not dependent on a service that can fail, or that can run out of
> listeners. "
>
>
> What do you experts think about this comment above?
>
> Wouldn't Lua reading directly from database still face some of the issues i
> may be running from using mod_xml_curl, like database crashing, slow reading
> from database?
>
> Unlike using mod_xml_curl whereby i can optimise my code to make use of
> memcached or radis to reduce some calls to database, can i still do such
> with mod_lua?
>
>
> So what do experts think, should i go with Mod_Lua approach just as he said
> above or should i continue with using Mod_XML_Curl?
>
> You opinion will be appreciated.
>
> Regards
>
> Eugene
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Kristian Kielhofner



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