Node.Js Event Loop

I think I had some notes about this earlier, but I can’t find them anymore. Collecting a bunch of resources again for the next time I inevitably forget how the event loop works.

I thought I had some articles saved that were helpful for me when I was learning this stuff, but I can’t find them anymore. In any case, I think I remember these being useful for me:

  1. Keunwoo has a lot of nuggets of useful wisdom scattered across Slack. I have this post saved.
  2. The Node.js Event Loop
  3. Understanding the Event Loop, Callbacks, Promises, and Async/Await in JavaScript | DigitalOcean
  4. javascript - Difference between microtask and macrotask within an event loop context - Stack Overflow

More links from Keyhan (some of these are similar to the ones above):

Notes I took on some of these articles:

  • Don’t Block the Event Loop (or the Worker Pool) | Node.js” 202301260138
  • Overview of Blocking vs Non-Blocking | Node.js” 202301260139
  • Node.js multithreading: Worker threads and why they matter - LogRocket Blog” 202301260141

uid: 202301252231 tags: #airtable #javascript #programming #blog-ideas


Date
February 22, 2023