~/talk

Observing Node.js: Using Metrics to Improve your Application Performance

Talkat OpenJS World 2021 · 2021-06-02..06-03· [nodejs, observability]
links:none on file
slides:none on file

Uses Prometheus and Grafana with a Docker Desktop demo repo and autocannon load tests to show concrete fixes: moving a builder to module top-level cuts a measured CPU jump from a 60% CPU spike to about 5%, caching a large JSON avoids repeated fetches that drive CPU and GC, and fixing unhandled promises stops a growing in-flight requests leak that pushes 99.9th-percentile latency up. Shows how to read process CPU, event-loop lag, heap, request rate and percentiles together to pinpoint root causes.

AI-written summary · about

  1. 0:00Introduction to metrics
  2. 1:32Key performance metrics
  3. 4:00Analyzing performance data
  4. 7:15Case study: Code inefficiency
  5. 13:54Case study: Memory leaks
  6. 21:20Case study: Leaky promises
~/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.