The Event Loop, in Server Terms
Node runs your JavaScript on one thread, like one waiter serving many tables, so it serves many requests at once by starting slow file and network work and moving on while it waits, and a long CPU-heavy loop makes every user wait.
Updated

- Category
- Node.js
- Level
- Journeyman
- Tags
- Blocking Code, Event Loop (nodejs), JavaScript, libuv, nodejs, Non-Blocking I/O, Worker Threads