NodeJS: Patterns and Tools to Ship to Production with Confidence
summary
Covers practical Node.js production patterns and tools: tune V8 heap with --max-old-space-size, handle unhandled promise rejections (use an async-aware router instead of Express’s default), and use tools like supertest and Wallaby JS for fast tests, piscina for worker pools, hdr-histogram-js for event-loop latency, autocannon and Node Clinic for load and profiling, and the circuit-breaker/bulkhead library cockatiel to prevent cascading failures.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:07Node.js and V8 quiz
- 8:31Monitoring Node.js tools
- 11:21Express pitfalls
- 18:39Resilience principles
- 21:06Dependency management and timeouts
- 24:38Circuit Breaker pattern
- 26:43Bulkhead pattern
- 28:51Conclusion
related talks
47mCreating Enterprise Web Applications with Node.js
17mRunning Node.js in Production
19mRunning Node.js in Production
22mNode.js at UBER
01h 02mDiscussion on Technologies: Node.js
01h 04mNode.js performance analytics and best practices
38mWelcome to Mordor! Hunting Performance Issues in Node.js.
37mTesting in the Node.js World
