~/talk

Chasing Real-Time Observability for CRuby

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, observability]
links:none on file
slides:none on file

rrtrace visualizes CRuby in real time across time, thread count and stack depth by streaming 16-byte events (TracePoint, GC enter/exit, InternalThreadEvent) over a shared memory ring buffer into a separate visualizer process. It reconstructs per-thread stacks (fib(32) shows ~30 frames) and uses per-block parallelization to replay events without popping unseen frames. The C side never silently drops events (it stalls until sends succeed); benchmarks show TracePoint and timestamp capture are the largest overheads while the ring buffer send is relatively cheap.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32Observability challenges
  3. 2:30Leveraging unused cores
  4. 4:21Demo of rrtrace tool
  5. 8:54rrtrace architecture
  6. 12:12Shared memory ring buffer
  7. 14:52Visualizer processing
  8. 17:27Real-time visualization hurdles
  9. 20:54Parallelizing stack simulation
  10. 23:38Performance impact measurement
  11. 27:00Future work and limitations
  12. 28:26Q&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.