From: James Britt Date: 2006-01-11T09:23:59+09:00 Subject: Re: rails: webrick & lighttp/fcgi threading model Christer Nilsson wrote: > Didier wrote: > > >>This got me thinking: I hope webrick (or lighttpd/fcgi) doesn't start a >>new ruby process whenever I ask for a new page ? (like some good old >>cgi) > > > Webrick is a development server, so it is starting a new ruby process > for every page. How do you figure? I believe Webrick stays running and keeps application code in memory. In development mode it will reload files, but that can be configured. > > You will get a better answer at the Rails Forum. This is true, at least for the Rails-specific stuff, but I'd be interested in any general observations on SCGI/fasctcgi Ruby stuff, as other Web apps use these as well. James -- http://www.ruby-doc.org - Ruby Help & Documentation http://www.artima.com/rubycs/ - The Journal By & For Rubyists http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://www.jamesbritt.com - Playing with Better Toys http://www.30secondrule.com - Building Better Tools