Scottish Ruby Conference 2014

Videos provided by Scottish Ruby Conf via their Vimeo Channel.

We rubyists historically haven’t been in the habit of thinking about concurrency but the reality is that our thread-unsafe code often works by sheer luck. There are different implementations of Ruby with their own semantics that can unearth challenging and unexpected concurrency bugs in our code. We have to become more accustomed to writing threadsafe code in order to anticipate these potential surprises, especially in light of the rise in popularity of JRuby. I will discuss approaches to writing threadsafe code in this talk, with a specific focus on performance considerations and testing. We’ll look at some basic concurrency concepts, describe methods for handling shared mutable data, and touch on the subtleties of some concurrency primitives. Hair-raising, real-world bugs will be used throughout the presentation to illustrate specific concurrency issues and techniques for solving them.

Rated: Everyone
Viewed 103 times
Tags: There are no tags for this video.