~/talk

My Node.js process is on fire

Talkat JSConf.Asia 2018 · 2018-01-25..01-27· [observability, devops-and-delivery]
slides:none on file

Black Friday traffic forces autoscaling to four times the servers and the bill spikes to 4× cost so the aim becomes a measurable goal: reproduce the spike, run cannon to measure latency and throughput, collect traces, and iterate. Use clinic doctor to reveal event‑loop delays and GC pressure and clinic flame to find CPU hotspots, fix the identified bottleneck, measure again, and repeat until the target latency and concurrency numbers are met.

AI-written summary · about

  1. 0:00Handling performance issues
  2. 1:24The post-mortem process
  3. 3:05Fixing production bottlenecks
  4. 3:44Node.js concurrency and memory
  5. 5:16HTTP load testing
  6. 6:06Clinic Doctor analysis
  7. 8:10Clinic Flame profiling
  8. 9:26Deep dive into performance
  9. 10:48Avoiding over-optimization
~/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.