Which of these best describes Node.js's concurrency model?
- A Multi-threaded with one thread per request
- B Single-threaded event loop with non-blocking I/O delegated to the system
- C Process per request
- D Synchronous request handling
Answer
Single-threaded event loop with non-blocking I/O delegated to the system
One thread runs JavaScript while libuv handles I/O asynchronously. This scales well for I/O-bound work and poorly for CPU-bound work.





