~/talk

Unicorns die with bullets made of glitter

Talkat Rubyfuza 2013 · 2013-02-01..02-03· [ruby, linux-and-operating-systems]
github:vmg
slides:none on file

Ruby process crashes come from two concrete problems: the MRI mark-and-sweep collector can miss internal buffers when native C extensions drop object pointers from the stack, causing the famous bundler crash; reproduction and fixes use garbage collector walks the raw C stack, enable GC stress + allocator perturbation, and run Valgrind/ASan to catch use-after-free. Timeouts fail on MRI 1.8 green threads and on 1.9+/GVL (need POSIX signals or release the GVL), and JRuby 1.6.7 has a bug where longer timeouts clobber shorter ones. GitHub runs ~12 frontends and ~30 file servers per tier.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:02Mark and sweep garbage collector
  3. 13:02Timeout rabbit and Ruby timeouts
  4. 21:38Moral of the story
  5. 23:25Q&A session
~/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.