~/talk

Scaling Ruby with Actors, or How I Learned to Stop Worrying and Love Threads

Talkat RubyConf 2011 · 2011-09-29..10-01· [ruby, concurrency]
slides:none on file

Argues that Ruby can scale with threads by using actor libraries and lock-free primitives rather than raw mutexes, demonstrates APIs: Celluloid (object‑oriented actors, one real thread per actor today), actor_rb (older, procedural) and Girl Friday (queue + worker pool for background jobs), cites 10 million counter benchmark: MRI 1.9 shows no thread speedup (4s single and five threads), JRuby shows 2s single vs 1s with five threads (2x on two cores), recommends STM and compare‑and‑swap atomics.

AI-written summary · about

  1. 0:00Concurrency challenges
  2. 7:01Ruby actor implementations
  3. 22:14Low-level primitives
  4. 22:43Future directions
  5. 28:14Q&A and closing thoughts
  6. 37:13Final remarks
~/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.