Guillermo.Acilu / koiaka.com wrote:
> Hello guys,
> 
> This is the first time I am working with threads and so far it gave me a 
> good result in the speed of my code, using Ruby 1.8.6 in the native Mac OS 
> X distribution. By I read in the book "The Ruby Programming language" that 
> the threads in the standard "C" Ruby 1.8.6 are not real OS threads and 
> they all share the same main Ruby thread. I have read also that JRuby 
> implements real OS threads.
> 
> My code triggers more than 200 threads each of them with one private 
> connection to a MySQL database.
> 
> Would it be a real advantage to use JRuby in this scenario? 

If you would like your app to take advantage of multiple cores without 
the complexity of cross-process communication, then JRuby would probably 
be a great choice.

- Charlie