~/talk

Node.js performance analytics and best practices

slides:none on file

Practical Node.js performance diagnostics and fixes: use console.time labels to measure code sections, run the V8/Node CPU profiler to find slow functions (example: one taking ~9000 ms), capture heap snapshots and inspect retained size to locate small-object memory leaks, and scale with the cluster module to 4 processes (or container replicas) when event-loop blocking causes ~10s request delays. Also includes load-testing to find breaking points and concrete configuration limits such as 512 MB per process.

AI-written summary · about

  1. 0:00Node.js performance challenges
  2. 6:31Single-threaded model
  3. 12:29CPU-intensive functions
  4. 17:55Performance measurement
  5. 23:31Express routing risks
  6. 27:49Worker processes for CPU
  7. 31:33Scaling with clustering
  8. 35:28Memory management
  9. 40:23Debugging memory leaks
  10. 44:39Network performance analysis
  11. 48:14Load testing resilience
  12. 55:18Live data testing
  13. 57:25Micro vs macro optimizations
  14. 1:00:12Memory snapshots
~/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.