Home  >  Article  >  Web Front-end  >  What do nodejs and nginx mean?

What do nodejs and nginx mean?

青灯夜游
青灯夜游Original
2021-11-11 15:48:312418browse

nodejs is a JavaScript running environment based on the Chrome V8 engine, which is used to easily build web applications with fast response speed and easy expansion. Nginx is a high-performance HTTP and reverse proxy web server and email (IMAP/POP3) proxy server.

What do nodejs and nginx mean?

The operating environment of this tutorial: windows7 system, nodejs 12.19.0&&nginx version 1.21.0, Dell G3 computer.

What does nodejs mean

Node.js is essentially a JavaScript runtime environment.

Node.js is a JavaScript running environment based on the Chrome V8 engine, which is used to easily build web applications with fast response speed and easy expansion. Node.js uses an event-driven, non-blocking I/O model to be lightweight and efficient, making it ideal for running data-intensive real-time applications on distributed devices.

What does nginx mean

Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services . Nginx was developed by Igor Sesoev for Russia's second most visited Rambler.ru site (Russian: Рамблер). The first public version 0.1.0 was released on October 4, 2004.

It releases source code under a BSD-like license and is known for its stability, rich feature set, simple configuration files and low system resource consumption. On June 1, 2011, nginx 1.0.4 was released.

Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, released under the BSD-like protocol. Its characteristics are that it occupies less memory and has strong concurrency capabilities. In fact, nginx's concurrency capabilities perform better among web servers of the same type. Users of nginx websites in mainland China include: Baidu, JD.com, Sina, NetEase, Tencent, Taobao, etc.

The difference between nodejs and nginxd:

1. Development language

Node.js is developed using C, C and JavaScript; while Nginx mainly It is developed using C programming language.

2. Response time

In Node.js, large user requests take more time to load. While in Nginx, large user requests take less time in seconds.

3. Concurrency

In Node.js, responding to concurrent user requests takes more time. In Nginx, the time required to respond to concurrent user requests is shorter.

4. Throughput

The throughput of Node.js is very low; the throughput of Nginx is very high.

5. Server

Node.js is a JavaScript running environment based on the Chrome V8 engine, a development platform that allows JavaScript to run on the server; it is also an HTTP server with some event-driven functions .

Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, released under the BSD-like protocol.

For more programming related knowledge, please visit: Programming Video! !

The above is the detailed content of What do nodejs and nginx mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn