From: Brian Candler Date: 2010-07-16T01:34:59+09:00 Subject: Re: Ruby best practice for "always on" app/service? Richard Conroy wrote: > Well everything is Rack enabled now. Install Passenger, deploy your > Rack enabled web service proxy (simple sinatra apps are always good > for these kind of things), and put your feet up. Seconded. Phusion Passenger is basically mod_rack for Apache. So you simply start Apache, and it takes care of accepting requests, starting up the appropriate number of child processes, and handing out requests to those processes. Each client is talking to once process at once, so you avoid all threading headaches entirely. -- Posted via http://www.ruby-forum.com/.