哪个版本的Node.JS更适合用于生产环境?

时间:2023-01-21 20:30:45

I'm building an app with Node.JS and I currently use the version 4.2.4 of this framework. But I'm wondering if this version is the best for a production environment. I have found similar question but their are old post, and NodeJS v4 and v5 doesn't exist at this time. So which version of NodeJS is better to use for production environment?

我正在使用Node.JS构建一个应用程序,我目前使用此框架的4.2.4版本。但我想知道这个版本是否适合生产环境。我发现了类似的问题,但它们是旧帖子,而NodeJS v4和v5目前还不存在。那么哪个版本的NodeJS更适合用于生产环境?

Thanks in advance.

提前致谢。

2 个解决方案

#1


3  

When running a node application in production, you need to keep stability, performance, security, and maintainability in mind. Outlined here is what I think are the best practices for putting node.js into production.

在生产中运行节点应用程序时,需要牢记稳定性,性能,安全性和可维护性。这里概述了我认为将node.js投入生产的最佳实践。

You need to run the latest stable version of node when in production. Following this tutorial will teach you to keep your balance of stability in check. Also will help teach you how to keep up to date with the latest stable build

您需要在生产中运行最新的稳定版本的节点。遵循本教程将教您如何控制稳定性。还将帮助您了解如何与最新的稳定版本保持同步

Article here

文章在这里

Please check here when you need to know the latest stable release of node.

当您需要了解节点的最新稳定版本时,请在此处查看。

#2


0  

I guess the best option is to stick to v4 which is LTS.

我想最好的选择是坚持使用LTS的v4。

#1


3  

When running a node application in production, you need to keep stability, performance, security, and maintainability in mind. Outlined here is what I think are the best practices for putting node.js into production.

在生产中运行节点应用程序时,需要牢记稳定性,性能,安全性和可维护性。这里概述了我认为将node.js投入生产的最佳实践。

You need to run the latest stable version of node when in production. Following this tutorial will teach you to keep your balance of stability in check. Also will help teach you how to keep up to date with the latest stable build

您需要在生产中运行最新的稳定版本的节点。遵循本教程将教您如何控制稳定性。还将帮助您了解如何与最新的稳定版本保持同步

Article here

文章在这里

Please check here when you need to know the latest stable release of node.

当您需要了解节点的最新稳定版本时,请在此处查看。

#2


0  

I guess the best option is to stick to v4 which is LTS.

我想最好的选择是坚持使用LTS的v4。