~/talk

Live Distributed Spying

Talkat Erlang Factory SF Bay Area 2014 · 2014-03-06..03-07· [security]
links:none on file
slides:none on file

Live Erlang code can be spied on without changing it by using match specs and the built-in trace machinery to attach to new pids, follow spawn/link, and capture call/return/exit/message events; timestamps are available but expensive. Practical tools shown: trace_pattern / match_spec, dbg (built-in), and recon; redbug is mentioned but less recommended. Several prototypes evolve into an experimental tool called spyglass that creates remote shells, loads tracers, and tears them down safely; careless wildcards or global tracing easily crash nodes or fill mailboxes.

AI-written summary · about

  1. 0:00Start
  2. 5:01PROTOTYPE 1
  3. 7:52CONTEXT: DEVELOPMENT VS. OPERATION
  4. 18:47How does tracing work? How does anything in Erlang work? Trade-offs.
  5. 29:09ASYNCHRONOUS Tracee self()
  6. 32:47BREAKING THINGS
  7. 41:47STATE MACHINES
  8. 43:05PROPERTY TESTING
  9. 44:25SPLIT THINGS UP 1. Code loaders are a little lacking 2. Rely on established libraries like recon 3. Develop cookbook of tracing ideas and tools
~/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.