Sunday, August 2, 2020

Comet, Ajax Push, Reverse Ajax, Two-way-web, HTTP Streaming and HTTP server push

Here is the wiki article. 

Google added web-based chat to Gmail
JotSpot, a startup since acquired by Google, built Comet-based real-time collaborative document editing.[23] 
New Comet variants were created, such as the Java-based ICEfaces JSF framework (although they prefer the term "Ajax Push"[5]). 
Others that had previously used Java-applet based transports switched instead to pure-JavaScript implementations.[24]

Google Docs? - HTTP server push?

Google added web-based chat to GmailJotSpot, a startup since acquired by Google, built Comet-based real-time collaborative document editing.[23] New Comet variants were created, such as the Java-based ICEfaces JSF framework (although they prefer the term "Ajax Push"[5]). Others that had previously used Java-applet based transports switched instead to pure-JavaScript implementations.[24]

My notes:
Polling - two-way sustained interaction, persistent or long-lasting HTTP connection
page-by-page web model? 

Comet applications attempt to eliminate the limitations of the page-by-page web model and traditional polling by offering two-way sustained interaction, using a persistent or long-lasting HTTP connection between the server and the client.

traditional polling? 
two-way sustained interaction? 
persistent or long-lasting HTTP connection? 

many Comet applications use long polling, which is easier to implement on the browser side, and works, at minimum, in every browser that supports XHR.

XMLHttpRequest long polling



Streaming and long polling

Streaming - hidden iframe
XMLHttpRequest 
Ajax with long polling 

Actionable Items


Ask more questions first. And then go back to read networking lecture notes related to application layer and network layer

No comments:

Post a Comment