[Rails] Re: Production environment for Rails on Win32, anyone intere

Luis Lavena luislavena at gmail.com
Wed Apr 12 05:38:52 GMT 2006


Gael Pourriel wrote:
> So am I, I like Mongrel too and its ease of use, configuration, maybe
> we should consider releasing a setup kit pre configured to work with
> Mongrel, such as Ruby, Rails, Lighttpd + Mod_proxy configure in load
> balancer mode so you can have more instance of Mongrel running.

Hi, I'm working in "production mode" with Rails and Ruby on Win32 
(mostly XP but a few 2k3 boxes).

I added the --cpu command to mongrel_rails_service to handle the cpu 
affinity on dual/quad core machines.

Due the threading nature of ruby, we set fire 4 instances of mongrel, 
each one "bound" to one processor, allowing us take better use of quad 
opterons server we have here.

We use lighttpd + mod_secdownload + mod_proxy to provide secure download 
of files, also load balancing.

So far that is our best setup.

I haven't benchmarked them, so guess will do to get some comparisons 
about performance.

I hope release in the following weeks a plugin and a series of scripts 
and Rakefiles to simplify the bundling of your rails application with 
these tools.

Regarding Compiling your own ruby, I have a updated, VC .NET 2003 (with 
Platform SDK and the missing tools) all bundled in 14mb. Actually I sent 
it to Zed Shaw to get mongrel-win32 gems corrently build with ruby 1.8.2 
and 1.8.4 msvc6.

Later,

Luis

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list