TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Best way for monitoring Node.js in production?

6 点作者 wsieroci超过 9 年前
Hi,<p>What do you use to monitor node.js processes in production? Assume that I would like to use nginx as my load balancer and some tool to keep node.js application running, like: forever or pm2. I would like to display data like heap, cpu usage, errors, maybe event loop state in realtime by web user interface remotely.<p>The best option would be to use some open source tool, but I am also thinking about using some proprietary solution.<p>What do you think?<p>Best, Wiktor

1 comment

sysk超过 9 年前
Hey Wiktor,<p>First, you really shouldn&#x27;t use forever or pm2 in production. May I suggest you use something like Dokku[0] or Deis[1] (if you are planning to scale to more than one server) to deploy your apps?<p>Dokku is really quick to setup and will save you a lot of time and trouble in the long term. Setup takes only 5 minutes and the learning curve is pretty low (maybe 30-60 minutes to be productive).<p>NewRelic[2] and DataDog[3] are popular for monitoring though they&#x27;re not open source. Nagios[4] is open source and also popular.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;dokku&#x2F;dokku" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dokku&#x2F;dokku</a><p>[1] <a href="http:&#x2F;&#x2F;deis.io" rel="nofollow">http:&#x2F;&#x2F;deis.io</a><p>[2] <a href="http:&#x2F;&#x2F;newrelic.com" rel="nofollow">http:&#x2F;&#x2F;newrelic.com</a><p>[3] <a href="https:&#x2F;&#x2F;www.datadoghq.com" rel="nofollow">https:&#x2F;&#x2F;www.datadoghq.com</a><p>[4] <a href="https:&#x2F;&#x2F;www.nagios.org" rel="nofollow">https:&#x2F;&#x2F;www.nagios.org</a>
评论 #11116649 未加载
评论 #11117217 未加载