How Node.js handles a file request :
- It Sends the task to the computer's file system.
- Node.Js Ready to handle the next request.
- When the file system has opened and read the file, the server returns the content to the client server.
- It eliminates the waiting and simply continues with the next request.
Node.js runs single-threaded, asynchronous programming, non-blocking, which is very memory efficient.