mod_mono is actually on it's way back to resurrection so stay tuned.<br><br>Just a warning , don't speculate too much on how much overhead various things have, actually lab it up and find out. =D<br><br><br><div class="gmail_quote">
On Fri, Jun 6, 2008 at 3:21 AM, Albano Daniele Salvatore - Personale <<a href="mailto:d.albano@gmail.com">d.albano@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is sure, it should be a lot faster but a programming language would<br>
give a lot of flexibility.<br>
<br>
Personally i'd like a lot .net/mono (i'm not a microsoft fun but .net,<br>
in the lastest releases, is a good thing) because you can really use any<br>
language you want (python => ironpython, ruby => ironruby, java => ikvm,<br>
php => phalanger, perl => perlnet and so on) on what so you want (look<br>
at mono, in this case System.Windows.Forms isin't necessary)<br>
<br>
Naturally nothing works at 100%, but with little modifications you can<br>
avoid problems so instead to study another language you can use one<br>
existent that has some additions so if you want you can use .net stuff<br>
too and it's is sufficently fast (look at language shootout, it's, on<br>
mono, is only slower 2.6x times than c++ tests compiled with intel<br>
compiler ... but .net on windows is faster)<br>
<br>
Naturally these tests are only indicatives, because there are a lot of<br>
stuff that come in play, but let to get an overwiew of the situation.<br>
<br>
Some time ago i started to take a look to mod_mono, but i was full of<br>
work so i didn't started to work on it<br>
<br>
In this way you can from the webpanel ,written in every language you<br>
like, update the database and, using mod_mono, builds configuration<br>
files really fastly removing the overhead of a request to a webserver<br>
(process spawn, if max clients has been hit, interpter start and so on)<br>
<br>
Would be wonderful if trixswitch will not use xml_curl to build xml<br>
files but generates it internally using an application written in lua or<br>
javascript (javascript is slow, but probably is faster than: xml<br>
request build, http request built, http request exceution, possible<br>
webserver processes spawn, initialization of the server side language,<br>
execution of the requested page and so on)<br>
<div><div></div><div class="Wj3C7c"><br>
Faraz R. Khan ha scritto:<br>
> My initial idea was to use mod_xml_ldap to generate XML from ldap- the<br>
> panel can control LDAP very efficiently.<br>
><br>
> According to what I have read and saw on this list- this is currently<br>
> possible. I would imagine that ldap would be far faster than any<br>
> language with a mysql backend.<br>
><br>
> Albano Daniele Salvatore - Personale wrote:<br>
><br>
>> The main problem there is that FreeSwitch can work using xml supplied by<br>
>> a webpage (xml_curl application): this mean that php must supply the XML<br>
>> (from a cache or generated on the fly)<br>
>><br>
>> The problem is that under an heavy load php isin't a good thing because<br>
>> it eat a lot of resources and kill the cpu even using accelerators like<br>
>> eaccelerator or apc: these, infact, have a cache for compiled php (php<br>
>> before begin executed is compiled for the zend engine) but these doesn't<br>
>> have a fully function code path optimizer that speed up all the process.<br>
>> Another big problem is that PHP doesn't use JIT so a lot of resources<br>
>> are used to interpretate the bytecode<br>
>><br>
>> The engines behind java, .net and so on have a jit engine so these can<br>
>> really be near to native execution speed (as native i mean c++ because<br>
>> these languages are OO so a lot of work is done and a lot of checks are<br>
>> executed)<br>
>><br>
>> Eventually, as i said before, a good option would be to use a webserver<br>
>> (or a module for the currently used webserver) that use softwares like<br>
>> memcache to serve pages: doing this you can generate the xml and put<br>
>> there using the same names used by the webserver. Naturally you can't do<br>
>> this in all situations because you can need dynamic configurations but<br>
>> can be a partial solution.<br>
>><br>
>> OT: It would be fantastic if spidermonkey will be replaced by tamarin<br>
>> (if this will become truly stable [i mean no api change])<br>
>><br>
>> Faraz R. Khan ha scritto:<br>
>><br>
>>> We have a control panel coming up which amongst many other things also<br>
>>> manages Asterisk. This would be released as Opensource. It has a PHP<br>
>>> front with a Python Agent (for doing sysadmin work). Its plugin based<br>
>>> and we would be happy to write a plugin for FS/TrixSwitch in the next<br>
>>> coming months!<br>
>>><br>
>>> Albano Daniele Salvatore - Personale wrote:<br>
>>><br>
>>><br>
>>>> A couple of suggestions:<br>
>>>> - take a look to nginx, it's really fast and for a fast switch there is<br>
>>>> need for a fast data backend (it serves data)<br>
>>>> - dosen't use php (i love php, but it is slow ... a lot slow even using<br>
>>>> apc, eaccelerator or similar!)<br>
>>>><br>
>>>> Memcached (or similar like sharedance) would be really useful to serve<br>
>>>> pre generated XML.<br>
>>>><br>
>>>> It would be really nice if the WUI (Web UI) would be written using Mono<br>
>>>> or Python<br>
>>>><br>
>>>> these are just my two cents :)<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>
>>>><br>
>>>><br>
>>><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>
>><br>
><br>
><br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400