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.
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.
- Use freeSWITCH's mod_curl and issue an api:executeString( "curl ..") command
- Use the luacurl library from http://luaforge.net/projects/luacurl/
- 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