服务器推送技术(又名“ COMET”,“ http服务器推送”,“ websockets”) [英] Server-Push Technology (aka. "COMET", "http server push", "websockets")
问题描述
MS / Azure通过服务器推送技术提供了什么?我的猜测是,目前还没有RTM产品。我相信该技术的面向Microsoft状态如下:
What does MS/Azure offer in the way of server push technology? My guess is that there is not, as yet, an RTM offering for this. The Microsoft-oriented status of this technology, I believe is as follows:
- WCF:提供TCP双工,但需要两个TCP套接字(其中在客户端上打开一个)。因此,这不是COMET(并且不能通过防火墙)
- WebSockets:可从Microsoft的 Html 5 Labs ,但仍处于开发阶段
- ASP.NET:提供了 反向ajax 。看起来很新。这是最接近MS推荐方法的东西吗?
- WCF: offers TCP duplexing, but requires two TCP sockets (where one is opened on the client). Ergo this is not COMET (and won't work through firewalls)
- WebSockets: Available from Microsoft's Html 5 Labs, but still very much under development
- ASP.NET: There is a "MS code samples" offering of "reverse ajax". It looks very new. Is this the closest thing to a MS recommended approach?
我还看到Azure在讨论 工人角色沟通,但由于它需要端口 80和443以外,因此不符合要求。
I also see an Azure discussion of "Worker Role Communication", but that does not qualify since it requires ports "other than 80 and 443."
那么这仍然是一个拭目以待的话题,还是我缺少了什么?
So is this still a "wait and see" topic, or is there something I'm missing?
推荐答案
看看 WebSync ;它不是来自微软本身,而是基于微软技术的彗星解决方案。
Take a look at WebSync; it's not from Microsoft itself, but it's a solution for comet based on Microsoft technology.
(免责声明:我在@Frozen Mountain工作)。
(Disclaimer: I work @ Frozen Mountain).
这篇关于服务器推送技术(又名“ COMET”,“ http服务器推送”,“ websockets”)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!