From: Joseph McDonald Date: 2002-09-05T08:59:49+09:00 Subject: Re: Options for optimizing a large Ruby system FH> So now I'm looking around for ways to speed things up. Using modruby FH> is probably an option, but I'm unsure as to whether that'll do what I Take a look at fastcgi: http://www.fastcgi.com/ Basically your ruby code stays in memory and talks to your web server (apache, iis, etc) via a socket. This way you have clean separation between the web serving process and the ruby cgi process (i.e. no need for a bloated httpd just to serve up images or static text). A fastcgi program will generally get its database connections and other initialization tasks and then just go into a while loop accepting requests from the server. We use fastcgi with ruby and are quite happy with it. Also see this: http://www.dmst.aueb.gr/dds/pubs/conf/2002-SANE-DynCont/html/dyncont.html fastcgi does very well. regards, -joe