~/talk

Peeking into Ruby: Tracing Running Code

Talkat ArrrrCamp 2015 · 2015-10-01..10-02· [ruby, observability]
slides:none on file

Shows concrete wins: run estrace to capture syscalls and find the exact failing open that returns “no such file or directory,” attach RB trace to a live process to log method calls and spot clustered GCs that pause the VM, and inspect packets with TCP dump to prove connection reuse cuts ~24 negotiation packets down to ~15 for subsequent requests. Examples live in a repo with Dockerfiles so the reproductions start and work locally, and each technique reports precise traces and return values.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Overview
  3. 2:09Case 1 Missing config file
  4. 5:53What are syscalls
  5. 8:12Looking for landmarks
  6. 11:27Finding unused methods
  7. 19:20Delicate negotiations
  8. 22:26TCP Dump
  9. 29:22Conclusion
~/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.