Please enable JavaScript.
Coggle requires JavaScript to display documents.
Real-time Featues and Performance Comparison (Increasing latency…
Real-time Featues and Performance Comparison
Direction
Uni-directional
HTTP poll, long poll, streaming
Bi-direcitonal
WebSockets, plugin networking
Increasing latency
WebSockets
Plugin networking
HTTP streaming
HTTP long-poll
HTTP polling
Javascript usage complexity
Ordering: Simple to complex
WebSockets
HTTP poll
Plugin networking
HTTP long poll, streaming
CORS
- Cross Origin Support
WebSockets: yes
Plugin networking: Flash via policy request
HTTP
Native binary data
WebSockets: yes
Plugin networking: not with Flash
Bandwidth
In decreasing order of efficiency
Plugin networking: Flash sockets are raw
WebSockets
HTTP streaming
HTTP long-poll: connection for every message
HTTP poll
Mobile device support
Plugin networking: Using some means on android
Not supported on iOS
HTTP : Mostly all mobiles
WebSocket
iOS
Android