The first three lifecycle methods of HTTP streaming are the same in HTTP long polling. The request is never terminated, even after the server pushes the data. This mechanism saved the pain of network latency because the initial request is kept open indefinitely. There were a lot of loopholes in long polling - header overhead, latency, timeouts, caching, and so on.
0 Comments
Leave a Reply. |