Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Talk Proposal: The Node.js Event Loop: Not So Single Threaded #6

Open
nebrius opened this issue May 14, 2019 · 6 comments
Open

Talk Proposal: The Node.js Event Loop: Not So Single Threaded #6

nebrius opened this issue May 14, 2019 · 6 comments
Labels
Speaker confirmed 🎉 Confirmed and ready to speak

Comments

@nebrius
Copy link

nebrius commented May 14, 2019

Abstract

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!

Details

This talk will have the following outline:

  • A brief history of multitasking
  • Which parts of Node.js are single threaded, and which parts are multithreaded
  • A series of illustrative examples that defines behavior
  • What actually is the event loop?

Previous recording

https://www.youtube.com/watch?v=zphcsoSJMvM

@carolstran
Copy link
Member

HEY @nebrius, been a long time since 🇮🇸 - Hope you're doing well and thanks for submitting! Got you on the list and we'll let you know once the deadline passes and we've gone through all of the proposals 🤖

@carolstran carolstran added the On the list ✔️ Talk marked down for consideration label May 15, 2019
@nebrius
Copy link
Author

nebrius commented May 15, 2019

Hey @carolstran! It has been a while. I'm glad to see your involved in Berlin.js, and I hope things have been going well for you too 😄 I'll keep an eye out for your response.

@nebrius
Copy link
Author

nebrius commented May 15, 2019

Oh, and I forgot to mention that both talks were originally created as 25 minute talks, but can be scaled down to as little as probably 15 minutes if needed.

@carolstran
Copy link
Member

Hey hey @nebrius! Just got off a call with my co-orgas and we'd love to have this talk at the JSConf Special 🎉 If you could confirm within the next couple of days that you're still available on May 30 (and still interested), that'd be lovely.

If you have any questions about the event, feel free to write here or you can DM us on Twitter!

@carolstran carolstran added Waiting for confirmation Asked to speak, but hasn't confirmed and removed On the list ✔️ Talk marked down for consideration labels May 20, 2019
@nebrius
Copy link
Author

nebrius commented May 20, 2019

I’m still available and interested, yes! I’ll see you there

@carolstran
Copy link
Member

Awesome then you're in! Looking forward to it ✨

We're waiting to confirm the rest of the schedule but then we'll put it on the website and announce on Twitter. If you have any updates you want to make to your talk title or description, just let me know.

@carolstran carolstran added Speaker confirmed 🎉 Confirmed and ready to speak and removed Waiting for confirmation Asked to speak, but hasn't confirmed labels May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Speaker confirmed 🎉 Confirmed and ready to speak
Projects
None yet
Development

No branches or pull requests

2 participants