Comet vs WebSocket
1. Comet a web application model in which a long-held HTTP request allows a web server to push data to a browser , without the browser explicitly requesting it. ( http://en.wikipedia.org/wiki/Comet_(programming) ) Implementations 1) polling 2) long polling: 3) streaming : use chunked 2. WebSocket a web technology providing full-duplex communications channels over a single TCP connection ( http://en.wikipedia.org/wiki/WebSocket ) Features - Like TCP , WebSocket provides for full-duplex communication - Websocket differs from TCP in that it enables a stream of messages instead of a stream of bytes WebSockets connection limit | Chromium | Chrome | Safari | Firefox | Opera | | 924 | 3237 | 2970 | 200 | 900 | ex) http://www....