~/talk

Parallel Processing With Ruby

Talkat RubyConf MY 2017 · 2017-10-12..10-13· [ruby, concurrency]
slides:none on file

Compares Ruby MRI (GIL/green threads) with JRuby (native parallel threads), demonstrates a real array.push race where five threads should append 5,000 items but concurrent implementations can lose updates, shows that mutex.synchronize fixes it, and explains fibers, the celluloid actor model and why Sidekiq moved away from Celluloid. Mentions a Ruby 3 “Guild” proposal to allow multiple guilds (threads groups) and a claimed ~3x speed target versus Ruby 2.

AI-written summary · about

  1. 0:00Introduction
  2. 3:15Parallel Processing vs Concurrency
  3. 14:04Are You Safe With Ruby
  4. 14:39Use Mutex
  5. 16:13Guild Implementation
  6. 18:03Fiber
  7. 18:34Celluloid
  8. 20:13Questions
~/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.