~/talk

Advanced Multithreading in Ruby

Talkat Cascadia Ruby 2013 · 2013-10-14..10-15· [ruby]
slides:none on file

Shows concrete concurrency primitives and working code: futures, promises, agents that queue updates, timers, actor pools and a Ruby implementation of an Erlang-style supervisor that restarts workers. Uses the concurrent-ruby gem, demonstrates immutability with hamster and contrasts thread safe collections, swaps blocking RestClient for em-http-request to avoid blocking the reactor, and wires AMQP/RabbitMQ timers to a five-worker pool so the examples actually run and recover.

AI-written summary · about

  1. 0:00Introduction
  2. 3:29Crashtestdummy
  3. 5:24Future
  4. 9:45Agent
  5. 12:34Mutation
  6. 13:35Ideal Hash Trees
  7. 16:13Promises
  8. 16:51TimerTask
  9. 17:19Actor
  10. 17:50Supervisor
  11. 21:36Event Machine
  12. 25:03Do not block the reactor
  13. 26:04Actors
  14. 27:06Celluloid
  15. 28:45Challenge
~/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.