Another common technique is long polling.
另一个常见的技巧是长轮询。
However, long polling also has its limitations.
然而,长轮询也有其自己的局限性。
They use one of two strategies: streaming and long polling.
它们使用两种策略其中之一:流线化和长期轮询。
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方法。
Long polling is a technique that optimizes traditional polling to reduce latency.
长轮询是一种优化传统轮询来降低延迟的技术。
An alternative to this technique is long polling, which can avoid both these problems.
该技术的另一种方案就是长轮询,可以避免这两个问题。
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.
至此,您可能会想,长轮询和流都有一个很大的问题。
In long polling, however, a client would have an outstanding request to the server at any point of time.
然而,在长轮询中,一个客户机可能需要随时向服务器发送一个重要请求,因此,服务器再一次需要为每个客户机准备一个或多个线程。
The BlazeDS project will include the traditional polling and long polling channels for retrieving messages.
BlazeDS项目将包括传统的轮询通道和长轮询通道来接收消息。
Long polling, also known as Comet, puts the server in control, by making the client wait for responses.
Long polling也就是我们熟知的Comet,其让服务器来控制这些事,让客服端等在那里听服务器的响应。
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.
长时间轮询:也就是所谓的异步轮询,这种方式是纯服务器端推送方式和客户端拉取方式的混合。
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。
For example an RTMP channel could be specified, but if that connection fails it could fail back to a long polling channel.
例如,可以指定rtmp管道,但如果该连接失败,就回到长轮询管道。
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)来订阅多种主题。
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请求,直至已经为客户机准备好了一个更新信息或发生超时。
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协议之上。
The advantage of a long poll over normal polling is that data goes from the server to the client as soon as it is available.
长轮询相对于一般轮询的优点在于,数据一旦可用,便立即从服务器发送到客户机。
Consultants from both parties are monitoring polling and voter reaction to gauge the effectiveness of the ads and to determine how long to continue showing them.
两党的顾问都在密切监视投票进程和选民反映,从而评估广告效果,决定宣传的持续时间。
Hybrid polling allows for immediate notification as long as the events occur when the connection is up.
混合轮询允许在连接保持的情况下出现事件时立即通知。
At polling stations long segregated queues, with many women in their finest saris, waited patiently to vote.
在投票站,各式选民队伍排得长长的,很多女性裹上家中最漂亮的莎丽,耐心地等待投票。
It takes at least two polling cycles to retrieve a job and then return results, and it could take additional cycles depending on how long the job actually takes to process on the node.
检索作业和返回结果至少要耗费两个轮询周期,并且根据节点处理作业实际花费的时间,可能会耗费更多周期。
If you're new to Ajax or really just a reasonable programmer who has worked in the field long enough to know better, the idea of "polling" probably sends shivers up your spine.
如果刚接触Ajax或者仅对该领域有所了解,“轮询”的概念可能让您感到害怕。
The second model is called a long poll: this article discusses this polling model-because it allows the quickest response to events on the server-as well as some hurdles to overcome.
第二个模型称为长轮询:本文将讨论这一轮询模型—因为它以最快的速度响应服务器上的事件—以及一些需要克服的困难。
应用推荐