What about a mod_perl XML binding like the example here? http://wiki.freeswitch.org/wiki/Mod_perl and http://wiki.freeswitch.org/wiki/Mod_perl_and_Generating_XML Would this be faster than a setup like mod_curl_xml -> lighttpd -> FastCGI/Perl ? I guess it would depend on if mod_perl in FreeSWITCH spawns new interpreter per request or if it uses one interpreter instance with multiple threads to execute pre-loaded perl. Anyone know if this is the case? Regards, -Adam -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of kokoska rokoska Sent: Monday, February 09, 2009 1:03 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Dynamic Dialplan Raymond Chandler napsal(a):
kokoska rokoska wrote:
Just my 2c:
If you use curl with lighttpd and custom built fastcgi "C" responder (it is really simple with fcgi libs - even I can do it :-) performance could be not that bad. hmmm, mod_xml_curl using C, interesting thought..
May be not the best way, but very simple. Well, it depends on what you have to do, but "directory" serving based on DB queries (this what I'm using it for) is very simple - just few lines of code.
all of the complexities of writing your own module without the nice structured FS API...
I should say I have no idea how hard is to write custom FreeSWITCH module (may be I should try it :-), but the FS code is very nice!
although, as a benefit, i guess you do get a little extra latency ;-) </sarcasm>
:-) Yes, you are right. And as a bonus some CPU utilization... Like I wrote above, I didn't say it is faster, but IMO it is very simple and not as slow as it looks (when using apache + php + apc). Best regards, kokoska.rokoska _______________________________________________ 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