~/talk

My node.js process is on fire

Talkat jsDay 2018 · on Wednesday, 2018-05-09· [nodejs, observability]
slides:none on file

At 10am on Black Friday a Node.js app overload forces autoscaling to quadruple servers and costs spike; investigation workflow is measurable: pick a percentile goal (he uses 91st percentile), reproduce on staging, run an HTTP load with autocannon, collect traces with clinic doctor and clinic flame, inspect flame graphs, and iterate. Examples include finding missing DB indexes showing up as gigabyte heaps and using fast-json-stringify and Pino to cut CPU and latency, with demos and working tools.

AI-written summary · about

  1. 0:00Start
  2. 2:59How to fix?
  3. 7:56Fixing performance issues
  4. 8:59Latency and throughput are connected
  5. 11:32AutoCannon
~/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.