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. On Wed, Jan 20, 2010 at 7:38 PM, Tom Carlson <tom@tomcarlson.com> wrote:
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.
1. Use freeSWITCH's mod_curl and issue an api:executeString( "curl ..") command 2. Use the luacurl library from http://luaforge.net/projects/luacurl/ 3. Use linux's curl through an io.popen() command
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.
Thanks.
_______________________________________________ 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
-- -Rupa