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

SockJS - NodeJS showcase - Dec 2011

D4e1d473a995ef37b3e03e9e6006c3e3?s=47 majek04
December 06, 2011

SockJS - NodeJS showcase - Dec 2011

D4e1d473a995ef37b3e03e9e6006c3e3?s=128

majek04

December 06, 2011
Tweet

Transcript

  1. SockJS WebSocket emulation kept simple, stupid Marek Majkowski marek@rabbitmq.com

  2. None
  3. HTTP WebSockets

  4. 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
  5. @sockjs github.com/sockjs

  6. None
  7. 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
  8. Orbited

  9. Socket.io

  10. Socket.io

  11. Socket.io cross domain Opera IE8, IE9 WebSockets - - Flash

    Socket ? ? AJAX CORS - ~ Forever IFrame - - JSONP + +
  12. postMessage

  13. SockJS cross domain Opera IE8, IE9 WebSockets - - Flash

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

    explained (sticky sessions) 4. Specified protocol, multilingual 5. WebSocket like API
  15. 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 ????
  16. @sockjs http://sockjs.org github.com/sockjs/sockjs-client

  17. mud.sockjs.org