~/talk

Modern Concurrency Practices in Ruby

Talkat RubyConf AU 2014 · 2014-02-19..02-21· [ruby]
links:none on file
slides:none on file

Shows concrete tradeoffs and working code: mutexes cause deadlocks and lost increments on JRuby but wrapping the counter in the Atomic gem yields 2,000 increments reliably; futures via Celluloid run a sleep-3s web-call example that returns 500 without blocking; an actor tennis demo (Federer vs Rafa) runs as separate processes; STM-style transfers attempt 25 moves but validators force only 11 commits; channels/CSP via core.async and map/parking go blocks scale to thousands of operations; recommends concurrent-ruby for agents and practical fallbacks.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52Agenda
  3. 2:15What is concurrency
  4. 3:29Mutexes
  5. 6:31Atoms
  6. 7:57Atomic
  7. 14:42Actors
  8. 23:10Agents
  9. 25:41STM
  10. 29:40Channels CSP
  11. 33:47Closing Thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.