From: David Heinemeier Hansson Date: 2005-03-31T08:38:30+09:00 Subject: Re: Poor efficency of Ruby... > Yes, I know. But what about my question? Where am I wrong? Even > classic cgi > script working as a simple adapter between Apache and application > server > can be very fast. There's no connection between the CGI gateway and the ./script/server. This is what happens on every single CGI request: 1) Require the entire Rails framework 2) Configure the Rails classes according to the environment 3) Load your application classes 4) Perform the action After which all that hard work in 1-3 is thrown away. Running with FastCGI, you experience 1-3 once, and just do 4 over and over again. When you run ./script/server, you're starting a separate webserver running by default on port 3000. It's a lot faster than CGI, but also a lot slower than FastCGI. For most people, it's just fine for development. -- David Heinemeier Hansson, http://www.basecamphq.com/ -- Web-based Project Management http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.loudthinking.com/ -- Broadcasting Brain