From: Andreas Schwarz Date: 2004-10-11T08:44:51+09:00 Subject: Re: Performance of Ruby Michael Gebhart wrote: > I am just thinking about programming a serverapplication with Ruby. The > application should manage a lot of sockets and should also be > multithreaded. One year ago I have tried to develop a similar application > with php. The horror! > The performance was absolutely bad. No, that was not only my > fault ;) My question is now: What about the performance of ruby? Is it > possible to write an application using sockets and threads with ruby, but > also with a good performance? Normally I am using C/C++ for these things. > Sure, Ruby will not be as far as C/C++. But the php-scripts were very very > slow. Has anyone experiences with this? I have once written a threaded NNTP server with MySL backend in ruby. I didn't try it with many parallel users, but it was fast enough to be usable. If you can tell me what kind of server you are trying to create and how it will be used I might be able to give you more useful information... -- http://www.mikrocontroller.net - Das Mikrocontroller-Forum