The Node.js Event Loop: Not So Single Threaded

скачать 53 2 1 721
Добавлено 16 октября 2017, 16:39
The Node.js Event Loop: Not So Single Threaded - Bryan Hughes, Microsoft You've heard Node.js is single threaded. It's true that all JavaScript executed by Node.js is run in a single thread, but JS isn't all. The event loop, written in C++, is multi-threaded! Come learn how the event loop works, how it affects performance, and how you can use it your advantage! About Bryan Hughes Microsoft Technical Evangelist San Francisco, CA Twitter Tweet Websitehttps://medium.com/@nebrius Bryan Hughes is a technical evangelist at Microsoft, a member of the Node.js Technical Steering Committee, and chairperson of the Node.js Community Committee. Bryan is also the creator of Raspi IO, a Raspberry Pi plugin for the Johnny-Five JavaScript robotics library. Outside of tech, Bryan is an amateur photographer, occasional writer, a once upon a time pianist, and a wine aficionado.

Комментарии

John Dueser
great presentation skills
15 февраля, 19:18 Комменитровать
Tereza Tomcová
Windows 95 already used preemptive multitasking (at least for 32-bit processes).
6 декабря 2017, 04:29 Комменитровать
shashank Jain
at 25:40 the speaker says we ask the kernel if its done or not with network i/o. I am not sure if this is how epoll works. Its more event based and an eventfd to notify the process that data is ready on the fd. There is no poll from userspace
15 октября 2017, 08:31 Комменитровать

Похожие видео