--0016e64af3c0871a0e0477186bd1
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Oct 29, 2009 at 11:48 AM, Glen Holcomb <damnbigman / gmail.com> wrote:

> You are going to want Ruby 1.9 for this.  In 1.8 threads are "green",
> basically they only exists as threads inside the VM so you still only hit
> one core and any blocking system I/O will block all of your threads.
>

Ruby 1.9 isn't going to help you when using threads to distribute
computation across CPU cores.  The Global VM Lock ensures that simultaneous
computation is still limited to one core.

JRuby, on the other hand, does not have this limitation.  On MRI/1.9 I would
recommend using multiple processes.

-- 
Tony Arcieri
Medioh/Nagravision

--0016e64af3c0871a0e0477186bd1--