A Node.js server can run smoothly, then suddenly take hundreds of milliseconds longer to respond—even when database latency, network conditions, and task scheduling appear normal. A garbage-collection pause can stop the application during an HTTP response; allocating more objects gives the collector more work to do. section 9.0
Latency is elapsed time between an operation and its response. When response times spike, check whether garbage collection or event-loop scheduling is responsible rather than assuming the network or database is slow. section 9.0 section 11.0











