This event has ended. Create your own event on Sched.
Back To Schedule
Wednesday, November 30 • 9:00am - 9:20am
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.

avatar for Sam Roberts

Sam Roberts

senior software engineer, IBM Canada
Sam Roberts is a Node.js collaborator, mostly contributing to child and cluster process handling, TLS, and documentation. He arrived at Node.js from C systems programming on undersea submersibles, through PKI and crypto SDK implementation, and then multi-language (Lua/C/Python) networking... Read More →

Wednesday November 30, 2016 9:00am - 9:20am CST
Salon 1