WEBrick on multiple CPUs?

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 S. 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

On Jul 23, 2009, at 08:15, Pavel S. wrote:

Hello all once again: is it possible to set up WEBrick to utilize
multiple CPUs? Or I have to use something like Mongrel?

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs