这一章首要讲解如何应用异步模式实现典范的长连接(long-polling)、流(streaming)和 推送体式格式(Comet-style ) 的编程,以便于响应数以切切计的并发恳求。
基于20个网页-相关网页
Since there is no Comet standard as such, let's distinguish between two types of Comet implementations: long-polling and streaming.
因为不存在Comet的标准,让我们区别来看两种不同类型的Comet实现:长轮询与流式查询。
All server and client implementations MUST support the "long-polling" connection type and SHOULD support "callback-polling". All other connection types are OPTIONAL.
所有服务端和客户端实现必须支持“长轮询”连接类型,并且应该支持“回调轮询”。其他连接类型都是可选的。
Another common technique is long polling.
另一个常见的技巧是长轮询。
应用推荐