Exploring Node.js ArchitecturePrint
You can also develop your Node.js Add-ons using C/C++ to work with Node.js.
It is a multi-platform support C++ library which is responsible for handling thread pool, event loop and async I/O operations in Node.js. In Node.js, blocking I/O operations are delegated to Libuv modules which has a fixed size C++ thread pool to handle these operations. When these operations are completed, they are notified to Event loop.
It is a C library for handling async DNS request, name resolves and multiple DNS queries in parallel.
It is a C library for parsing HTTP request and response.
It is a C library for the implementation of Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols. It also provides all the necessary cryptography methods like hash, cipher, decipher, sign and verify etc.
It is a C library for data compression and decompression.
What do you think?
I hope you get the idea of Node.js internal structure. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.