Hello all once again: is it possible to set up WEBrick to utilize multiple CPUs? Or I have to use something like Mongrel?
Thanks, P.
Hello all once again: is it possible to set up WEBrick to utilize multiple CPUs? Or I have to use something like Mongrel?
Thanks, P.
Pavel Smerk wrote:
Hello all once again: is it possible to set up WEBrick to utilize
multiple CPUs? Or I have to use something like Mongrel?
Sure just have it run one per process, run several process all listening
on different ports.
=r
--
Posted via http://www.ruby-forum.com/\.
The webrick_high_performance gem gives an example of how to do this, but it doesn't have any code to spawn new processes if one dies.
On Jul 23, 2009, at 08:15, Pavel Smerk wrote:
Hello all once again: is it possible to set up WEBrick to utilize multiple CPUs? Or I have to use something like Mongrel?