~/talk

Can we Double the Node.js HTTP Client Throughput?

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

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

  1. 0:00Introduction and Context
  2. 2:23Microservices Challenges
  3. 4:23HTTP Connection Efficiency
  4. 8:18Node.js HTTP Agents
  5. 10:33Pipelining and Latency
  6. 12:09Event Loop Optimization
  7. 15:24Introduction to Undici
  8. 20:04Undici Benchmarks
  9. 22:16Demo and Conclusion
~/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.