How to speed up the startup speed Node.js applications

image.png

Author | Dujia Kun (Ling constant)
produced | Alibaba new retail Amoy Department of Technology

We usually deploy Node.js applications in the development process, the time-consuming application process for the launch of the very few people will be concerned about, most applications can be activated for about 5 minutes to complete, this process involves the interaction of many systems and groups this seems to have no problem consuming.

Currently, the group has to Serverless tide, Node.js serverless-runtime as the cornerstone of a new R & D model of the front end, but also the development in full swing. Serverless has the advantage of flexibility, efficiency, economy, if our Node.js FaaS also like the same application, once deployed in minutes consuming level, can not quickly and effectively respond to the request, and even lead to an avalanche of resources at the time of the request pulse, then all advantage will become a disaster.

All Node.js FaaS ability to provide a platform, in the brains of the cold / hot start is shortened, there is in addition to the process optimization, resource allocation of the underlying infrastructure, as

Guess you like

Origin yq.aliyun.com/articles/718830