Session Details

The Node.js Event Loop: Not So Single Threaded  

Level :
Intermediate
Date :
10:15 AM Sunday
Room :
Town Square B
Track :
Microsoft Development
Interested : (-) - Registered : (-)

Presentation

You've probably heard, and possibly lamented, that Node.js is single threaded. It's true that all JavaScript executed by Node.js is run in a single thread. This means each JavScript file you write, module you require, and even Node.js itself, all contend for processing time.
But JavaScript isn't the only code in Node.js. There's also a lot of C++, most important of which is the event loop. One of the event loops responsibilities is to manage a set of threads called the thread pool. As it turns out, most C++ code in Node.js is multithreaded!
Come learn how the event loop works in detail, how it affects the performance of your app, and how you can use this knowledge to your advantage!

The Speaker(s)

img

Bryan Hughes

Bryan Hughes is a technical evangelist at Microsoft, long-time member of the Node.js and NodeBots communities, and tech activist. Bryan is the creator of Raspi IO which provides Raspberry Pi support for the Johnny-Five JavaScript robotics library. Bryan also created Raver Lights, a distributed wireless lighting system designed for festivals, and Request Inspector, a Node.js performance diagnostics tool. Outside of tech, Bryan is an amateur photographer, occasional writer, a once upon a time pianist, and a wine aficionado.
  • Not Interested
  • Interested
  • Attending

SPONSORS List