in NGINX by
Difference Between Node.js vs Nginx

1 Answer

0 votes

Node.js is an open-source server software that supports cross-platform applications and provides a JavaScript runtime environment to run the JavaScript code on the server-side. It was developed by Joyent and was licensed under the MIT License. It was initially released in the year 2009. It was primarily written using the C, C++ and JavaScript programming languages. The original author for the development of Node.js is Ryan Dahl. JavaScript language was initially used to run the programs on the client-side. The Node.js project was governed and supported the Node.js foundation.

Nginx is free and open-source web server software which was based on event-driven architecture and was developed by Nginx Inc. The original author of Nginx is Igor Sysoev. It was primarily written in C programming language. It supports various operating systems such as BSD variants, Windows, IBM AIX, HP-UX, macOS, Linux, Solaris, and few others, etc., Nginx can also be used as a load balancer, HTTP cache, mail proxy or reverse proxy in a server. It was licensed under 2-clause BSD License. Nginx was initially released in the year 2004.

Node.js introduces event-driven programming into web servers, which enables the development of fast web servers in JavaScript programs. Nginx is a powerful non-threaded and even driven programming architecture which performs very well if configured correctly. Nginx outperforms the Apache webserver which was the primary goal when it was developed. Most of the web servers use Nginx as a load balancer.

Related questions

+1 vote
asked May 31, 2020 in Node.Js by Robindeniel
  • #node
  • js-setimmediate
  • js-settimeout
  • js-functions
0 votes
asked Dec 16, 2019 in NGINX by sharadyadav1986
+1 vote
asked Aug 16, 2020 in JavaScript by RShastri