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
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
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
1k
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
230
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
130
New "Type" system on PicoRuby
pocke
1
410
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
1
730
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.1k
Inspired By RubyKaigi (EN)
atzzcokek
0
490
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
340
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
410
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
320
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
370
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
180
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
55
12k
BBQ
matthewcrist
89
10k
Leo the Paperboy
mayatellez
7
1.8k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
330
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
370
The Mindset for Success: Future Career Progression
greggifford
PRO
0
350
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
420
A designer walks into a library…
pauljervisheath
211
24k
Utilizing Notion as your number one productivity tool
mfonobong
4
310
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
220
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
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