~/talk

Event loop tales on I/O bound Node.js applications

TalkinItalianat NodeJS Italian Conference 2018 · on Friday, 2018-11-16· [nodejs, web-performance]
slides:none on file

The talk analyzes I/O-bound Node.js frontend microservices where DNS lookups run in libuv’s thread pool and cause contention under many-to-one HTTP patterns. Using New Relic and simple load benchmarks, the presenter shows median latency improving from ~100ms to ~4ms and tail latencies dropping from 100+ms to single digits after fixes: tuning the default libuv threadpool (UV_THREADPOOL_SIZE), using the system resolver, enabling keep-alive, and applying a patched HTTP agent, with end-to-end validation.

AI-written summary · about

  1. 0:00Event loop challenges
  2. 7:23Event loop internals
  3. 10:40File system and DNS I/O
  4. 16:35I/O bottlenecks
  5. 23:09DNS resolution optimizations
  6. 26:01Live demo
  7. 31:13Thread pool memory
  8. 33:06Summary
~/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.