There are two basic types of polling channels, short and long polling.
有两种基本的轮询管道:短轮询与长轮询。
With long polling, the browser makes an Ajax-style request to the server.
对于长期轮询,浏览器向服务器发出一个ajax样式的请求。
Bayeux implementations support a specific HTTP method called long polling.
Bayeux实现支持一种名为长轮询的特定HTTP方法。
The main difference between polling and long polling is how long it takes the server to respond.
轮询与长轮询之间的主要区别在于服务器花多长的时间作出响应。
In a long polling request, a client sends a request to a server to retrieve available information.
在长轮询请求中,客户机向服务器发出一个请求来检索可用信息。
At this point you might be thinking that there is a major problem with both long polling and streaming.
至此,您可能会想,长轮询和流都有一个很大的问题。
The BlazeDS project will include the traditional polling and long polling channels for retrieving messages.
BlazeDS项目将包括传统的轮询通道和长轮询通道来接收消息。
With long polling, the client requests information from the server in a manner that is similar to traditional polling.
对于长轮询,客户机以与传统轮询类似的方法向服务器请求信息。
SetClientPollInterval indicates the interval between the two Bayeux requests. This is usually set to zero in long polling.
setClientPollInterval指出两个Bayeux请求的间隔,在长轮询中通常设置为0。
The clients can create topics and submit messages to them through a RESTful API, while other clients subscribe to multiple topics through HTTP long polling.
客户端可以创建主题,并通过RESTful的API向它们提交消息,而其它客户端会通过HTTP的长轮询机制(long polling)来订阅多种主题。
This means you can give regular requests a short lifetime, but you can also extend this lifetime to several minutes for a mechanism that responds to long polling requests.
这意味着可以给常规的请求设置很短的生命周期,但是对于响应长轮询请求的机制,也可以将这个生命周期延长至几分钟。
Both Bayeux and WebSockets attempt to avoid the resource limits by using a fall-back mechanism for long polling (in the case of Bayeux) or switching to a non-HTTP based secondary protocol instead.
Bayeux和WebSockets都试图避免资源限制问题,使用回退机制来实现长轮询(比如Bayeux),或者切换到其他非http协议之上。
Long polling is a technique that optimizes traditional polling to reduce latency.
长轮询是一种优化传统轮询来降低延迟的技术。
Long polling is an interesting technique to decrease the load on the server in these types of scenarios.
这些情况发生时长轮询是个减轻服务器负载挺有趣的技术。
Long Polling: Also known as Asynchronous Polling, this method is a hybrid of pure server push and client pull.
长时间轮询:也就是所谓的异步轮询,这种方式是纯服务器端推送方式和客户端拉取方式的混合。
Long polling is a polling technique in which the server will delay completing the HTTP response until either an update is ready for the client or a timeout occurs.
长轮询是一种轮询技术,其中服务器延迟完成HTTP请求,直至已经为客户机准备好了一个更新信息或发生超时。
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.
所有服务端和客户端实现必须支持“长轮询”连接类型,并且应该支持“回调轮询”。其他连接类型都是可选的。
All server and client implementations MUST support the "long-polling" connection type and SHOULD support "callback-polling". All other connection types are OPTIONAL.
所有服务端和客户端实现必须支持“长轮询”连接类型,并且应该支持“回调轮询”。其他连接类型都是可选的。
应用推荐