“Building Living Web Applications with HTML5 Websockets” presentation from Peter Moskovits @Kaazing
“Half-duplex” is analogous to picking up a phone, dialing a number, waiting for the other end to pick up, asking a question, getting a response, hanging up, and then repeating for the next question – instead of having a fluid, 10-minute conversation.
A type-ahead widget sending the letter “a” back to the server via XHR incurs a cost of 788 bytes in the header for the 1 byte of the character
Intro to Web Sockets
INTRODUCTION TO WEBSOCKETS email@example.com WebSockets are a new way to connect clients and servers with efficient two-waycommunication that allows us to build true desktop-style web applications!
Current Workarounds• AJAX/XHR – Content can update w/o full page refresh – User-perceived low latency – Faux real-time via polling/long-polling• Comet – No standard specification – Very complex to implement