1 and 2 both use libcurl. 2 might be better for you IF it doesn't introduce memory leaks or other instabilities. mod_curl is just a simple wrapper around libcurl so nothing special. <br><br><div class="gmail_quote">
On Wed, Jan 20, 2010 at 7:38 PM, Tom Carlson <span dir="ltr"><<a href="mailto:tom@tomcarlson.com">tom@tomcarlson.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I was hoping that those knowledgeable in these things could tell me, strategically, which curl method would be most cpu friendly for me to use to access my restful web service.<br><br><ol><li>Use freeSWITCH's mod_curl and issue an api:executeString( "curl ..") command</li>
<li>Use the luacurl library from <a href="http://luaforge.net/projects/luacurl/" target="_blank">http://luaforge.net/projects/luacurl/</a></li><li>Use linux's curl through an io.popen() command <br></li></ol><br>I was intending to use the luacurl library, but it occured to me that mod_curl might have been specially engineered to provide better efficiency.<br>
<br>Thanks.<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>