~/talk

Concurrent Systems in Ruby

Talkat RailsClub Moscow 2014 · on Saturday, 2014-09-27· [ruby, concurrency]
links:none on file
slides:none on file

Compares concrete concurrency options in Ruby and shows when each actually works versus fails, with code patterns and libraries: classic mutex/condition locks, optimistic updates via atomic gem with retry semantics, persistent data via Hamster persistent structures, and actor supervision using Celluloid actors. Explains Ruby 1.8 green threads versus 1.9+ native threads, fiber stack limits and the tradeoff between process isolation and shared-memory threads, and demos supervisor restarts where an actor dies and is relaunched repeatedly until a configured threshold.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Theoretical foundations of concurrency
  3. 3:34Concurrency vs parallelism
  4. 7:26Race conditions and memory sharing
  5. 9:32Race condition problems in Ruby
  6. 11:17Safe concurrency solutions
  7. 13:06Mutexes and atomic operations
  8. 16:42Green threads and features
  9. 19:57Task scheduler components
  10. 21:23Ruby Fibers and limitations
  11. 23:11Processes vs threads in Unix
  12. 25:16Concurrency system comparison
  13. 26:43Concurrency model conclusions
  14. 27:03Celuloid and actor model
  15. 31:08Celuloid error handling
  16. 34:22Recommendations and resources
  17. 35:06Conclusion 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.