From: Andreas Schwarz Date: 2004-06-21T06:03:15+09:00 Subject: Re: rubys web performance Florian Weber wrote: > >> I don't know rails but if you work with a non cgi architecture, like >> FCGI, webrick, mod_ruby. Write an init page that requires all files >> (not just the toplevel ones) that will be loaded. > > that means that mod_ruby and fcgi actually dont cache all the > loaded classes? i thought exactly thats what it does. You are right. > however im still wondering why my heavy php app, where > classes are not cached, no accelerator is used, etc is even a bit > faster than a super simple ruby example where classes are cached.. I don't know rails, but all the ruby web frameworks I looked at were extremely memory and CPU intensive. If you use the relational DB like it is supposed to, without a generic OO mapping layer, and a simple templating system like Kwartz, you will see that performance is similar to PHP.