In short, this channel encapsulates two flash.net.URLStream instances (command and tunnel) and supports long-polling transport.
简而言之,这个信道封装了两个flash.net.URLStream实例(指令和通道),并支持长轮询(long - polling)传输。
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.
所有服务端和客户端实现必须支持“长轮询”连接类型,并且应该支持“回调轮询”。其他连接类型都是可选的。
The Tornado web framework is used for live updating. This is their Comet server, which handles the large volumes of open connections used for long-polling and pushes updates to the browsers.
Tornadoweb框架用于实时更新,其运行在Comet服务器上,其用来处理大量的需要长时间poll和push更新的网络连接。
Comet is a set of techniques providing low-latency data transit for the browser. The two most popular techniques, "forever-frame" and "long-polling", significantly reduce latency over Ajax polling.
Comet是一套为浏览器提供低延迟数据传输的技术集合,它的两个主要的技术是“ forever -frame ”和“long - polling ”在相当大的程度上减少Ajax对服务端的多次数据检测查询。
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.
这意味着可以给常规的请求设置很短的生命周期,但是对于响应长轮询请求的机制,也可以将这个生命周期延长至几分钟。
They use one of two strategies: streaming and long polling.
它们使用两种策略其中之一:流线化和长期轮询。
In a long polling request, a client sends a request to a server to retrieve available information.
在长轮询请求中,客户机向服务器发出一个请求来检索可用信息。
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请求,直至已经为客户机准备好了一个更新信息或发生超时。
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.
第二个模型称为长轮询:本文将讨论这一轮询模型—因为它以最快的速度响应服务器上的事件—以及一些需要克服的困难。
The main difference between polling and long polling is how long it takes the server to respond.
轮询与长轮询之间的主要区别在于服务器花多长的时间作出响应。
Long polling is a technique that optimizes traditional polling to reduce latency.
长轮询是一种优化传统轮询来降低延迟的技术。
With long polling, the client requests information from the server in a manner that is similar to traditional polling.
对于长轮询,客户机以与传统轮询类似的方法向服务器请求信息。
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.
长轮询相对于一般轮询的优点在于,数据一旦可用,便立即从服务器发送到客户机。
There are two basic types of polling channels, short and long polling.
有两种基本的轮询管道:短轮询与长轮询。
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.
在投票站,各式选民队伍排得长长的,很多女性裹上家中最漂亮的莎丽,耐心地等待投票。
At this point you might be thinking that there is a major problem with both long polling and streaming.
至此,您可能会想,长轮询和流都有一个很大的问题。
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.
检索作业和返回结果至少要耗费两个轮询周期,并且根据节点处理作业实际花费的时间,可能会耗费更多周期。
In long polling, however, a client would have an outstanding request to the server at any point of time.
然而,在长轮询中,一个客户机可能需要随时向服务器发送一个重要请求,因此,服务器再一次需要为每个客户机准备一个或多个线程。
Bayeux implementations support a specific HTTP method called long polling.
Bayeux实现支持一种名为长轮询的特定HTTP方法。
The BlazeDS project will include the traditional polling and long polling channels for retrieving messages.
BlazeDS项目将包括传统的轮询通道和长轮询通道来接收消息。
SetClientPollInterval indicates the interval between the two Bayeux requests. This is usually set to zero in long polling.
setClientPollInterval指出两个Bayeux请求的间隔,在长轮询中通常设置为0。
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或者仅对该领域有所了解,“轮询”的概念可能让您感到害怕。
Methods that do not block but that still may take a long time to execute can respect requests for interruption by polling the interrupted status and return early if interrupted.
对于中断请求,不阻塞但是仍然要花较长时间执行的方法可以轮询中断状态,并在被中断的时候提前返回。
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.
长时间轮询:也就是所谓的异步轮询,这种方式是纯服务器端推送方式和客户端拉取方式的混合。
For example an RTMP channel could be specified, but if that connection fails it could fail back to a long polling channel.
例如,可以指定rtmp管道,但如果该连接失败,就回到长轮询管道。
With long polling, the browser makes an Ajax-style request to the server.
对于长期轮询,浏览器向服务器发出一个ajax样式的请求。
应用推荐