Can we Double the Node.js HTTP Client Throughput?
summary
Claims a new HTTP client undici doubles throughput for Node.js by combining a default keep-alive agent with optional HTTP/1.1 pipelining and a LIFO socket scheduler. Benchmarks show roughly 2× request/sec versus default clients in microservice-style tests (500 outer requests that fan out to five inner calls, 10 ms service time, 50-socket limit used for comparison). Library ships with promise APIs, connection pools, mock-friendly v4 features, proves fast in proxies and works today as part of the Node.js org.
AI-written summary · about
chapters (9)
- 0:00Introduction and Context
- 2:23Microservices Challenges
- 4:23HTTP Connection Efficiency
- 8:18Node.js HTTP Agents
- 10:33Pipelining and Latency
- 12:09Event Loop Optimization
- 15:24Introduction to Undici
- 20:04Undici Benchmarks
- 22:16Demo and Conclusion







