Node.js 11 🟢 Non-Blocking Asynchronous I/O Mechanics
Non-blocking I/O is the principle that lets Node.js serve thousands of concurrent connections with a single JavaScript thread. A blocking operation stops the thread until it completes; a non-blocking operation starts the work, returns immediately, and notifies when the result is ready. Node.js is built around the second approach: the JavaScript thread never waits for…