Threading and Concurrency in Ruby

50 %
50 %
Information about Threading and Concurrency in Ruby
Technology

Published on January 15, 2014

Author: t33ray

Source: slideshare.net

Description

Rubyists generally tend to shy away from multi-threaded code.
Cognitive overload, horror stories of threading bugs, and MRI's lack of native threading support are probably the reasons, but these are powerful constructs that every developer should understand. We'll tour the basic synchronization primitives that Ruby provides, and I'll show you where each is appropriate, covering potential pitfalls and hazards along the way. We'll see the strengths and limitations of the way MRI, Rubinius, and JRuby run our multithreaded code, and the implications that that has on our code's progress.

Add a comment

Related presentations

Related pages

Ruby, Concurrency, and You - Engine Yard Blog

Ruby, Concurrency, and You '1.9' concurrency; IronRuby; MagLev; MacRuby; GIL '1.8' ... it can actually spread out your Ruby Threads to multiple cores!
Read more

Ruby Concurrency, Actors, and Rubinius - Interview with ...

He's been involved in Ruby concurrency and threading for a long time, such as with the fastthread library which improves threading with 1.8.x MRI.
Read more

Threading and concurrency are hot topics in the Ruby ...

Threading and concurrency are hot topics in the Ruby community. Want to join the conversation? You've probably heard people around you talking mutexes ...
Read more

GitHub - ruby-concurrency/concurrent-ruby: Modern ...

Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, Scala, Haskell, F#, C#, Java ...
Read more

Ruby 1.9.x Concurrency - Ruby Forum

... threading still isn't > the way to get real concurrency on Ruby ... so you can keep working on other things while they do. > Ruby's threads help ...
Read more

Ruby Concurrency and Parallelism: A Practical Primer ...

Processes Threads; Uses more memory: Uses less memory: If parent dies before children have exited, children can become zombie processes: All threads die ...
Read more

Ruby - Multithreading - TutorialsPoint

Ruby - Multithreading; Ruby Useful Resources; ... Ruby threads are a lightweight and efficient way to achieve concurrency in your code. Creating Ruby Threads:
Read more

Ruby Concurrency and Parallelism in Multithreaded Apps: A ...

Thorough and practical intro to concurrency and parallelism in Ruby. ... since they don’t have a GIL and they do support real parallel Ruby threading. ...
Read more

Ruby concurrency explainined | Matt Aimonetti

Concurrency in Ruby explained, how to get there, what are the Ruby limitations, how do they compare to other languages. Threads, multiple processes, fibers ...
Read more

Lessons Learned in Concurrency with Ruby – Part I

Lessons Learned in Concurrency with Ruby - Part I. Features; Pricing; Support; Add-ons; ... so multiple Ruby threads will run in parallel if the hardware ...
Read more