Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SockJS - NodeJS showcase - Dec 2011

majek04
December 06, 2011

SockJS - NodeJS showcase - Dec 2011

majek04

December 06, 2011
Tweet

More Decks by majek04

Other Decks in Programming

Transcript

  1. WebSockets hixie-75 4 5.0.0 hixie-76 4 (disabled) 6 5.0.1 11

    (disabled) hybi-07 6 hybi-10 7 14 10-dev hybi-17 16-dev
  2. History of Comet Fallbacks JSO N P Forever IFram e

    AJAX multipart EventSource W ebSocket postM essage Orbited Socket.io SockJS AJAX polling AJAX CO RS 2005 2007 2009 2006 2010 2011 2008
  3. Socket.io cross domain Opera IE8, IE9 WebSockets - - Flash

    Socket ? ? AJAX CORS - ~ Forever IFrame - - JSONP + +
  4. SockJS cross domain Opera IE8, IE9 WebSockets - - Flash

    Socket ? ? postMessage + AJAX CORS + + postMessage + Forever IFrame + + JSONP + +
  5. #sockjs SockJS 1. Fallbacks 2. Cross domain support 3. Scalability

    explained (sticky sessions) 4. Specified protocol, multilingual 5. WebSocket like API
  6. History of Comet Fallbacks JSO N P Forever IFram e

    AJAX multipart EventSource W ebSocket postM essage Orbited Socket.io SockJS AJAX polling AJAX CO RS 2005 2007 2009 2006 2010 2011 2008 W ebSocket WebSocket ????