Francis Cianfrocca
2006-May-17 14:02 UTC
[Eventmachine-talk] Performance of a pure-ruby eventmachine
Folks, as you know there is a thread afoot (experiments/pure-ruby in the eventmachine SVN tree) to implement EventMachine in pure Ruby. And while I''m rather happy with how the coding has been going so far, I''m not very happy with the performance. I did an intra-machine stress test with several hundred clients and servers sending each other a lot of simultaneous traffic, and I''ve found that the C++ version uses quite a bit more memory, but runs about four times faster than the pure ruby version. Of course, this is just one kind of stress test, and there are other kinds, some of which may show ruby to better advantage. So for now the tentative conclusion is that we should plan to keep both threads alive, and coalesce the programming APIs so that user code will be compatible with either version. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20060517/cdd03d45/attachment.htm