After Years of Node in Production, We Still Block the Event Loop
summary
Examines how to detect and measure event loop blocking in Node.js by instrumenting and assessing pauses and spikes, including concrete sources such as database queries, memory leaks, garbage collection pauses, and third-party modules; and covers techniques to evaluate the impact of those blocks on reliability and performance.
AI-written summary · about
chapters (7)
- 0:00Start
- 7:18Bad Case: Lazy require
- 8:29Bad Case: JSON parse ARA
- 10:24Bad Case: Garbage Collection
- 13:27Bad Case: Arbitrary Size Data Structures
- 16:20Bad Case: npm install innocent-package
- 19:21References
related talks
22mScaling Node.js and unblocking the Event Loop
30mDo Not Thrash the Node.js Event Loop
01h 04mNode.js performance analytics and best practices
17mRunning Node.js in Production
45mAsk the Maintainer: Nodejs
28mUnderstanding the NodeJS event loop myths and magic
21mThe Node.js Eventloop Fairytale
26mObserving Node.js
