Slide 22
Slide 22 text
True Multi-Threading
● Ruby 1.8.7 the GIL (Global
Interpreter Lock) prevent more
than 1 thread of Ruby code to run
at any time.
● Ruby 1.9+ can use multiple OS
threads for I/O bound operations,
but we cannot have parallel ruby
processes
● JRuby can use true OS threads
allowing us to utilize multiple CPUs
http://www.restlessprogrammer.com/2013/02/multi-threading-in-jruby.html