RE: Server Push used for long polling

You’re correct – that’s more equivalent.  But I’ve seen WebSockets used in the same way, even though it has broader capabilities.

From: Greg Wilkins [mailto:gregw@intalio.com]
Sent: Thursday, January 15, 2015 12:55 PM
To: Mike Bishop
Cc: Wenbo Zhu; HTTP Working Group
Subject: Re: Server Push used for long polling


On 15 January 2015 at 20:52, Mike Bishop <Michael.Bishop@microsoft.com<mailto:Michael.Bishop@microsoft.com>> wrote:

•         A long-lived response in which the server occasionally emits interesting new information (equivalent to WebSockets, if the client isn’t sending anything after the initial request)

This one is probably better likened to server-sent-events, which is effectively just a HTTP response content type.

Websocket should be likened to a long-lived client initiated stream without HTTP semantics that exchanges messages in both directions.
your other characterisations are spot on.
cheers



--
Greg Wilkins <gregw@intalio.com<mailto:gregw@intalio.com>>  @  Webtide - an Intalio subsidiary
http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales
http://www.webtide.com  advice and support for jetty and cometd.

Received on Thursday, 15 January 2015 22:07:05 UTC