.Net 上用于 Comet 应用程序的非阻塞 Web 服务器
我正在尝试使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
肯定有。查看 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.