You can find my first go at a PHP/Erlang extension at:

  http://www.math-hat.com/~zukerman/projects/php-erlang/

I'd love it if some Erlang or PHP hackers could take a look and let me
know what they think.

I wrote a simple chat app to test it (Erlang code included in the tar
file), created one PHP script for reading messages and one for
writing, and tested 100 bots against it doing polling reads every 9/10
requests and writes 1/10.  On my 2 year old 2.6GHz Pentium 4 machine,
with Apache2 and PHP5, I managed about 350 requests/s.  If the web app
were polling for messages every 5s, and messages were sent every
minute or so on average, then my system could handle about 1750
simultaneous users.  This is Not That Great.  My desktop at work (a 4
CPU something-or-other) had about 10x the performance, so it could
maybe handle 17k users, which is Better.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to "Bay Area Functional 
Programmers"  
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/bayfp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to