Articles on the Javascript event loop:
The below videos are the best ones I’ve come across regarding the event loop in Node.js.
Video #1: The Node.js Event Loop: Not So Single Threaded
Video #2: What the Heck Is the Event Loop Anyway?
Video #3: In the Loop
Video #4: Everything You Need to Know About Node.js Event Loop
Video #5: Node’s Event Loop From the Inside Out by Sam Roberts
ADDITIONAL RESOURCES:
- Question #1 from StackOverflow: How does async code really work under the hood in JavaScript?
- Question #2 from StackOverflow: Correct way to write a non-blocking function in Node.js
- Question #3 from StackOverflow: Node.js dns.resolve() vs dns.lookup()
- Article: All you need to know to really understand the Node.js Event Loop and its Metrics