Suggestion for xml_curl performance
Hi all, Recently I faced some performance bottleneck by using Javascript. Now I am testing xml_curl for next setup, In terms of performance and stability will any body give me some information, what are the pros & cons of using xml_curl, what is precaution for using it, or any other recommendations... Thanks, msp -- View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p2211812... Sent from the Freeswitch-users mailing list archive at Nabble.com.
My setup of the system is like: When calls come from Originator gateway I route the call to Terminator Gateway based on database lookup. FS works as switching platform. In previous setup using JavaScript, JavaScript caused the performance bottleneck when call traffic increases. Now I am testing xml_curl so asking for any suggestion, if some one has experienced... shehzad p wrote:
Hi all,
Recently I faced some performance bottleneck by using Javascript.
Now I am testing xml_curl for next setup, In terms of performance and stability will any body give me some information, what are the pros & cons of using xml_curl, what is precaution for using it, or any other recommendations...
Thanks, msp
-- View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p2211861... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Hi Brian, My setup is to use FS as basic calls routing. 1. Calls are coming to FS from more than one customer Gateways, and I need to authenticate them and check for enough balance based on database, [Caller Gateways] ===> [FreeSWITCH] ===> [Provider Gateways] 2. After knowing that Caller Gateways is valid, then based on dialed number it search in database for Provider Gateway and bridge the call there. 3. After call finish CDR is inserted back into database. My old setup was using Javascript which works fine in traffic of 10 to 20 calls, but then increase of traffic causes many problems. Now I eliminate use of any of the script (javascript or any other) for call routing, and route calls directly from dialplan, So I have setup test system using xml-curl to generate dynamic dialplan, I used below xml_curl PHP example as reference: http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example For CDR processing I used xml_cdr, with help of the example in FS source :scripts/contrib/trixter/xml-cdr. Waiting for any better suggestions, any comments... thanks msp. Brian West-3 wrote:
it all depends on what you're doing.. can you elaborate?
/b
On Feb 20, 2009, at 4:18 AM, shehzad p wrote:
Recently I faced some performance bottleneck by using Javascript.
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p2213318... Sent from the Freeswitch-users mailing list archive at Nabble.com.
I'd recommend having a look at fastcgi as well. On 2/21/09, shehzad p <pmhshz@gmail.com> wrote:
Hi Brian,
My setup is to use FS as basic calls routing. 1. Calls are coming to FS from more than one customer Gateways, and I need to authenticate them and check for enough balance based on database, [Caller Gateways] ===> [FreeSWITCH] ===> [Provider Gateways] 2. After knowing that Caller Gateways is valid, then based on dialed number it search in database for Provider Gateway and bridge the call there. 3. After call finish CDR is inserted back into database.
My old setup was using Javascript which works fine in traffic of 10 to 20 calls, but then increase of traffic causes many problems.
Now I eliminate use of any of the script (javascript or any other) for call routing, and route calls directly from dialplan, So I have setup test system using xml-curl to generate dynamic dialplan, I used below xml_curl PHP example as reference: http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example For CDR processing I used xml_cdr, with help of the example in FS source :scripts/contrib/trixter/xml-cdr.
Waiting for any better suggestions, any comments...
thanks msp.
Brian West-3 wrote:
it all depends on what you're doing.. can you elaborate?
/b
On Feb 20, 2009, at 4:18 AM, shehzad p wrote:
Recently I faced some performance bottleneck by using Javascript.
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p2213318... Sent from the Freeswitch-users mailing list archive at Nabble.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
-- Shannon
Is this a good application for the new ESL (Event Socket Library)interface? -anm On Sat, Feb 21, 2009 at 9:11 AM, Shannon <shannon@sacredhearts.us> wrote:
I'd recommend having a look at fastcgi as well.
On 2/21/09, shehzad p <pmhshz@gmail.com> wrote:
Hi Brian,
My setup is to use FS as basic calls routing. 1. Calls are coming to FS from more than one customer Gateways, and I need to authenticate them and check for enough balance based on database, [Caller Gateways] ===> [FreeSWITCH] ===> [Provider Gateways] 2. After knowing that Caller Gateways is valid, then based on dialed number it search in database for Provider Gateway and bridge the call there. 3. After call finish CDR is inserted back into database.
My old setup was using Javascript which works fine in traffic of 10 to 20 calls, but then increase of traffic causes many problems.
Now I eliminate use of any of the script (javascript or any other) for call routing, and route calls directly from dialplan, So I have setup test system using xml-curl to generate dynamic dialplan, I used below xml_curl PHP example as reference: http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example For CDR processing I used xml_cdr, with help of the example in FS source :scripts/contrib/trixter/xml-cdr.
Waiting for any better suggestions, any comments...
thanks msp.
Brian West-3 wrote:
it all depends on what you're doing.. can you elaborate?
/b
On Feb 20, 2009, at 4:18 AM, shehzad p wrote:
Recently I faced some performance bottleneck by using Javascript.
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p2213318... Sent from the Freeswitch-users mailing list archive at Nabble.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
-- Shannon
_______________________________________________ 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
Thanks for your response, I am studying FastCGI as Shannon recommend. Is there any other possibility of making this setup better, OR making it better requires change in architecture, If yes please anybody comment and point me out to that direction. Thanks msp Shannon-27 wrote:
I'd recommend having a look at fastcgi as well.
On 2/21/09, shehzad p <pmhshz@gmail.com> wrote:
Hi Brian,
My setup is to use FS as basic calls routing. 1. Calls are coming to FS from more than one customer Gateways, and I need to authenticate them and check for enough balance based on database, [Caller Gateways] ===> [FreeSWITCH] ===> [Provider Gateways] 2. After knowing that Caller Gateways is valid, then based on dialed number it search in database for Provider Gateway and bridge the call there. 3. After call finish CDR is inserted back into database.
My old setup was using Javascript which works fine in traffic of 10 to 20 calls, but then increase of traffic causes many problems.
Now I eliminate use of any of the script (javascript or any other) for call routing, and route calls directly from dialplan, So I have setup test system using xml-curl to generate dynamic dialplan, I used below xml_curl PHP example as reference: http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example For CDR processing I used xml_cdr, with help of the example in FS source :scripts/contrib/trixter/xml-cdr.
Waiting for any better suggestions, any comments...
thanks msp.
Brian West-3 wrote:
it all depends on what you're doing.. can you elaborate?
/b
On Feb 20, 2009, at 4:18 AM, shehzad p wrote:
Recently I faced some performance bottleneck by using Javascript.
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p2213318... Sent from the Freeswitch-users mailing list archive at Nabble.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
-- Shannon
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p2224004... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
Addison Martin
-
Brian West
-
Shannon
-
shehzad p