InterviewSolution
Saved Bookmarks
| 1. |
How does Node.js overcome the problem of blocking of I/O operations? |
|
Answer» Since the node has an event loop that can be used to handle all the I/O operations in an ASYNCHRONOUS manner without blocking the main function. THUS even though we have single-threaded JS, I/O ops are handled in a nonblocking way. |
|