氮气在哪里获得最佳性能 - 雅司病、mochiweb 或 inets?

发布于 2024-08-14 03:20:29 字数 185 浏览 12 评论 0原文

Nitrogen 项目 网页声明对 yaws、mochiweb 和 inets 提供同等支持,但它与哪一个 Web 服务器配合使用表现最好?即,对于主要包含动态内容的大型应用程序和氮 + Web 服务器,哪种组合将能够处理最多的用户负载?

The Nitrogen project web page declares equal support for yaws, mochiweb, and inets, but with which of these web servers is it going to perform the best? I.e. for a large scale application with mostly dynamic content with nitrogen + a web server which combination will be able to handle the most user load?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

戏蝶舞 2024-08-21 03:20:29

像这样的问题很大程度上取决于应用程序。任何答案都必须持保留态度,并且绝对不能替代您自己进行的系统测试。然而,尽管如此,我相信 yaws 和 mochiweb 在性能上相当相似。雅司病是较旧的项目,因此可能会更稳定,但不一定。我几乎没有使用 inets 的经验,所以我不会对此发表评论。

最好的选择是对每个应用程序运行一组基准测试,看看会得到什么。在氮气中切换它们非常容易,您可以使用同一个应用程序运行测试并得出自己的结论。

A question like this is highly dependent on the application. Any answer would have to be taken with a grain of salt and is definitely not a substitute for doing your own system tests. However, with all of that said, I believe the yaws and mochiweb are fairly similar in performance. yaws is the older project and may be more stable as a result but not neccessarily. I've almost no experience with inets so I'm not going to comment on it.

Your best bet is to run a set of benchmark tests for your app with each one and see what you get. It's so easy to switch between them in nitrogen that you can run tests with the same app and draw your own conclusions.

半透明的墙 2024-08-21 03:20:29

是的,我相信它们的性能相似。主要区别在于 Mochiweb 更快、更灵活,而 Yaws 可以处理更多并发连接。

然而,Inets 仅用于本地测试。我懒得去检查它。

Yeah I believe they are similar in performance. The major difference is that Mochiweb is faster and nimbler while Yaws handles more concurrent connections.

Inets is only for local testing however. I wouldn't bother checking it out.

我不咬妳我踢妳 2024-08-21 03:20:29

Mochiweb 是最快的,因为 Bob Ippolito 编写了它。 :)

我已经对它进行了基准测试,我的记忆告诉我它比其他的要好得多。我记得它很稳定,并且在重负载下没有出现错误消息。但不要相信我。自己测试一下吧。

Mochiweb is the fastest because Bob Ippolito wrote it. :)

I have benchmarked it and My memory tell me it was much better then the rest of them. What I can remember it was stable and did not explode in error messages under heavy load. But don't trust me. Test it your self.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文