Hi FreeSWITCH experts,<div><br></div><div>My question is as regards performance and which is the best option.<br><div><br></div><div>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:</div>
<div><br></div><div><i>&quot; The thing I don&#39;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.</i></div>
<div><i><br></i></div><div><i>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. &quot;</i></div>
<div><br></div><div><br></div><div>What do you experts think about this comment above?</div><div><br></div><div>Wouldn&#39;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?</div>
<div><br></div><div>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?</div><div><br></div><div><br></div><div>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?</div>
</div><div><br></div><div>You opinion will be appreciated.</div><div><br></div><div>Regards</div><div><br></div><div>Eugene </div><div><br></div><div><br></div><div><br></div><div><br></div>