~/talk

Actor, Thread and me

Talkat RubyKaigi 2015 · 2015-12-11..12-13· [ruby, concurrency]
slides:none on file

Argues that the actor model is a model not a panacea and often isn’t inherently safer than threads; builds a select-based event loop ("bartender") in Ruby with nonblocking wrappers, a small RPC‑style server and a DB protocol client that run, and experiments with both per-actor queues (method_missing dispatch) and a central Linda tuple space. Shows it works but reveals hidden blocking and context‑saving complexity (fibers yield to scheduler, long unknown blocking calls still require spawning threads), so actors trade shared‑memory races for hard coordination costs.

AI-written summary · about

  1. 0:00Introduction and sponsors
  2. 3:20What is the Actor model
  3. 10:53Problems with Actor model
  4. 14:23Building a messaging system
  5. 20:53Actor implementations in Ruby
  6. 22:41Conclusion and Q&A
~/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.