本文介绍了针对Comet应用程序的Node.js与Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望构建一个高性能,可扩展的Comet服务器,并首先考虑将Java Grizzly与GlassFish一起使用。

We look to build a high-performance, scalable Comet server, and thought first about using Java Grizzly with GlassFish.

但经过一些研究,我们看到了Node .JS因为极端简单而迅速成为首选,并宣称表现出色:

But after some research, we see that Node.JS is taking rapidly as the preferred choice due to extreme simplicity, and claimed performance:

我将很高兴听到一些使用这两者的真实体验,以及最终可能是最佳选择。

I will be happy to hear some real-life experience of using both, and what ultimately can be the best choice down the road.

谢谢!

推荐答案

如果您想进一步阅读同一作者的博文,即帖子,,他解释了为什么他又回到了基于Java的解决方案(Ne tty)并对此感到满意。我想这将是一个有趣的阅读。

If you would further read the blog posts by the same author, namely the post, Is node.js best for Comet, he explains why he again went back to the Java based solution (Netty) and is happy with it. I guess that would be an interesting read.

这篇关于针对Comet应用程序的Node.js与Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 19:34
查看更多