tutorials28 min read
Idle CPU, Fast Partner, Slow Checkout: DNS, the libuv Thread Pool and Keep-Alive in Node.js
The tax service answers in 30 ms and the API's CPU is idle, yet placing an order takes two seconds. We trace, step by step, how a new connection per request, dns.lookup and the libuv thread pool build an invisible queue.