My node.js process is on fire
summary
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
chapters (5)
- 0:00Start
- 2:59How to fix?
- 7:56Fixing performance issues
- 8:59Latency and throughput are connected
- 11:32AutoCannon
related talks
13mMy Node.js process is on fire
26mObserving Node.js: Using Metrics to Improve your Application Performance
46mNodeJS Scalibility Tips
24mArchitect for Scale - My Learnings in Node.js (A case study)
21mCan you tell me if your Node app is healthy?
25mNode js applications diagnostics under the hood
01h 12mA New Way to Profile Async Activity in Node.js
27mScaling NodeJS beyond the ordinary
