WebSockets
http
- palling, get the information once per time interval
- need to create expensive connection each time
web socket
- double way hand shake initially by http to establish connection
- persistent connect in both ways
- bi-directional communication
- integrated into http2 already