u/kapv89in r/node • Recommends
Node's Event Loop From the Inside Out by Sam Roberts, IBM
43K subscribers • 7 videos on Hallway
Advanced. Deep dive for people who know the field.
99K views9 years ago3 recommendations
Systems programmingProgramming languagesNode.js, Deno and BunConcurrency and parallelismPerformance and optimization
Sam Roberts explains how the Node.js event loop and libuv work under the hood, correcting common misconceptions with C code examples.
Node's Event Loop From the Inside Out - Sam Roberts, IBM Do you think Node is asynchronous because it uses a thread pool for network interactions? Do you there is a relationship between "event emitters" and the "event loop"? I will be working through these misaprehensions as well as others, showing how the Node.js event loop really works. There are many, many pictures and blogs on this topic, but many of them are subtly wrong, or outright misleading. Despite that its event loop that is key to Node's scalability and performance, it remains a misunderstood black box to many. I will show how it works - C code may be seen! - talk about why it works that way, and what some of the implications are for Node developers, as well as briefly describe some changes that the Node core team are considering with respect to how Node uses libuv. About Sam Roberts Node, communications protocols, deploying node, rock climbing, mountain biking, beer, and whatever they find really exciting.What people say. Highly recommended for its deep, accurate explanation of Node's event loop internals and libuv.
u/kapv89in r/node • Recommends
u/wasupinternetin r/node • Recommends