WebSocket Demos

HTML5 Powered with Connectivity / Realtime, and Performance & Integration

Reducing kilobytes of data to 2 bytes is more than "a little more byte efficient", and reducing latency from 150ms (TCP round trip to set up the connection plus a packet for the message) to 50ms (just the packet for the message) is far more than marginal. In fact, these two factors alone are enough to make WebSocket seriously interesting to Google.

— HTML spec editor at Google
Ian Hickson

Various examples of server- and client-side WebSocket APIs (JSR-356, AsyncHTTPClient) demonstrated on different events (PrincetonJUG, HTML5DevConf Spring 2013).

Refer to my presentation slides from PrincetonJUG and HTML5DevConf Spring 2013