• Email
  • Like
  • Save
  • Private Content
  • Embed
 

A Case of Accidental Concurrency

by on Jun 01, 2012

  • 972 views

Concurrency in Ruby is all the rage these days, and people can't seem to agree...

Concurrency in Ruby is all the rage these days, and people can't seem to agree
whether Threads, Fibers, event loops, or actors are the best solution. But did you ever consider that your *sequential* Ruby program might be concurrent, with nary a Thread, Fiber, or callback in sight? Well, it happened to me.

This is the story of how accidental concurrency (also known as re-entrancy) broke my brain multiple times over the course of two years, spawned flamewars on Twitter, long blog posts, and the various solutions I took to solve the problem. Along the way we'll illuminate some subtleties of concurrent programming in Ruby, differences between several Ruby implementations, and how we can all write code that is friendlier when accidental concurrency strikes.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

6 Embeds 246

http://sempe.me 110
http://sempe.local 77
http://lanyrd.com 56
http://us-w1.rockmelt.com 1
http://localhost 1
http://coderwall.com 1

Statistics

Likes
0
Downloads
0
Comments
0
Embed Views
246
Views on SlideShare
726
Total Views
972
Post Comment
Edit your comment

A Case of Accidental Concurrency A Case of Accidental Concurrency Presentation Transcript