Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SockJS - LNUG Nov 2011
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
majek04
November 23, 2011
Programming
260
1
Share
SockJS - LNUG Nov 2011
majek04
November 23, 2011
More Decks by majek04
See All by majek04
Keeloq_AD_2025__1_.pdf
majek04
0
42
BPF programmable socket lookup
majek04
0
680
Linux at Cloudflare
majek04
3
8.8k
DDoS Landscape
majek04
0
440
Inside Cloudbleed
majek04
3
3k
Golang sucks
majek04
21
53k
Gatelogic - Somewhat functional reactive framework in Python
majek04
1
5.3k
How Cloudflare deals with largest DDoS attacks?
majek04
2
3.6k
Why we chose Service Worker API
majek04
0
2.9k
Other Decks in Programming
See All in Programming
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.4k
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
11
4k
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
170
Oxcを導入して開発体験が向上した話
yug1224
4
270
Inspired By RubyKaigi (EN)
atzzcokek
0
490
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
310
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
260
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
200
さぁV100、メモリをお食べ・・・
nilpe
0
120
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
690
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
410
Modding RubyKaigi for Myself
yui_knk
0
850
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.1k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Marketing to machines
jonoalderson
1
5.3k
The Invisible Side of Design
smashingmag
302
52k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
How to make the Groovebox
asonas
2
2.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
A designer walks into a library…
pauljervisheath
211
24k
Odyssey Design
rkendrick25
PRO
2
660
Transcript
SockJS WebSocket emulation kept simple, stupid Marek Majkowski
[email protected]
Wednesday,
23 November 11
Wednesday, 23 November 11
Wednesday, 23 November 11
@sockjs github.com/sockjs Wednesday, 23 November 11
Wednesday, 23 November 11
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 Wednesday, 23 November 11
Orbited Wednesday, 23 November 11
Socket.io Wednesday, 23 November 11
Socket.io Wednesday, 23 November 11
Socket.io cross domain Opera IE8, IE9 WebSockets - - Flash
Socket ? ? AJAX CORS - ~ Forever IFrame - - JSONP + + Wednesday, 23 November 11
postMessage Wednesday, 23 November 11
SockJS cross domain Opera IE8, IE9 WebSockets - - Flash
Socket ? ? postMessage + AJAX CORS + + postMessage + Forever IFrame + + JSONP + + Wednesday, 23 November 11
#sockjs SockJS 1. Fallbacks 2. Cross domain support 3. Scalability
explained (sticky sessions) 4. Specified protocol, multilingual 5. WebSocket like API Wednesday, 23 November 11
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 ???? Wednesday, 23 November 11
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 Wednesday, 23 November 11
@sockjs http://sockjs.org github.com/sockjs/sockjs-client Wednesday, 23 November 11