A Beginner's introduction to Node.js
According to the Node Foundation:
From this definition, We can understand the following things.
- Event-driven, non-blocking I / O model. In simple terms, each function runs asynchronously. Libuv an event processing library is used to handle the processing of non-blocking I/O operations. It simplifies the concurrent programming model and allows you to write high-performance Web applications quickly.
- It uses npm as a package manager. Currently, npm is the largest open-source library management package eco-powerful, as of December 2019, the number of modules over 350,000.
Node.js is usually used to develop low-latency network applications, i.e. applications that need to collect and exchange data in real-time (APIs, live chat, microservices). Alibaba, Tencent, Qunar, Baidu, PayPal, Dow Jones, Wal-Mart, and LinkedIn all use Node.js framework to build applications.
Most people think that Node.js can only write website background or front-end tools, which is not complete. The goal of Node.js is to make concurrent programming more accessible. It is mainly used in I/O intensive network programming applications. It is open-source, cross-platform, and efficient (especially I/O processing), IBM, Microsoft, Yahoo, SAP, PayPal, Wal-Mart, and GoDaddy are all Node.js users.