.Net 上用于 Comet 应用程序的非阻塞 Web 服务器

发布于 2024-08-10 18:11:13 字数 552 浏览 2 评论 0原文

我正在尝试使用 IronPython 实现 Comet 风格(例如聊天)应用程序。虽然我不需要扩展到像 Twitter 这样的尺寸,但响应时间要快如闪电,这一点至关重要。 Python 中的所有可能性(Twisted龙卷风Magnum-Py )不与 IronPython 一起使用,通常是因为 epoll 支持。

.Net 世界中是否有彗星风格应用程序的默认选择?或者是具有长拉支持的纯Python实现?我尝试过 NTornado,但目前性能非常差(比 Tornado 慢 100-1000 倍)。

I am trying to implement a Comet style (e.g. chat) application using IronPython. While I don't need to scale to twitter like dimensions, it is vital that the response time is lightening fast. All the possibilities in Python (Twisted, Tornado, Magnum-Py) do not work with IronPython, often because of epoll support.

Is there a default choice in the .Net world for comet style applications? Or a pure python implementation with long-pulling support? I have tried NTornado, but performance is currently very poor (100-1000x slower than Tornado).

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

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

发布评论

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

评论(1

大海や 2024-08-17 18:11:14

肯定有。查看 WebSync,它是 .NET/IIS 的完整 Comet 解决方案。据我所知,它是目前唯一可用的 .NET 版本的 Comet 完整实现。您可以免费使用点播版本(有限制),也可以选择服务器版本来自行托管。它也很便宜,没有运行费用等。

There sure is. Check out WebSync, a full comet solution for .NET/IIS. To my knowledge, it's the only full implementation of comet for .NET available today. You can use the on-demand version for free (up to a limit), or pick up the server version to host it yourself. It's pretty inexpensive too, no runtime fees, etc.

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