WEBrick on multiple CPUs?

P

Pavel Smerk

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

Roger Pack

Pavel said:
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
 
E

Eric Hodel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top