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.