alfred westerveld's personal annotations on this page
This link has been bookmarked by 8 people . It was first bookmarked on 31 Dec 2007, by J Black.
-
Yi Wang"Push"
-
Generally the web server does not terminate a connection after response data has been served to a client.
-
NPH scripts
- 1 more annotations...
-
-
-
Long polling is a variation of the traditional polling technique and allows to emulate information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client. The client will normally then immediately re-request information from the server, so that the server will almost always have an available waiting request that it can use to deliver data in response to an event.
Long polling is itself not a push technology, but can be used under circumstances where a real push is not possible.
-
-
-
multipart/x-mixed-replace
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.