Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Node Performance

Traditionally servers used a new process to handle each new server request.
The problem with this was that creating a new process is a memory expensive procedure, the process has to be initialized and destroyed, all of which taking up RAM.
This could not be scaled for very long, and an alternative was to use thread pools instead, retrieving a new thread for each request.
This way we don’t pay the panelty for creating new OS processes since we are using an existing thread pool, also threads are lighter than processes, still using threads takes up RAM and also switching context between threads uses unnecesarry CPU cycles.

Nginx
Nginx Brought in the idea of single threaded servers, an idea which Nginx uses.
Nginx proved that single thread servers can handle a huge amount of request and efficiently.
Nginx is the predecessor of Node regarding the usage of single threaded server.
A compersion between apache and Nginx showed an undeniable advantage in performance of Nginx over Apache regarding handling of requests, and also in RAM usage.