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 - NodeJS showcase - Dec 2011
Search
majek04
December 06, 2011
Programming
2
510
SockJS - NodeJS showcase - Dec 2011
majek04
December 06, 2011
Tweet
Share
More Decks by majek04
See All by majek04
BPF programmable socket lookup
majek04
0
510
Linux at Cloudflare
majek04
3
6.6k
DDoS Landscape
majek04
0
340
Inside Cloudbleed
majek04
3
2.4k
Golang sucks
majek04
21
51k
Gatelogic - Somewhat functional reactive framework in Python
majek04
1
4.3k
How Cloudflare deals with largest DDoS attacks?
majek04
2
2.8k
Why we chose Service Worker API
majek04
0
2.2k
IP Spoofing - DEFCON
majek04
1
720
Other Decks in Programming
See All in Programming
Semantic search with Django and pgvector
pauloxnet
0
240
今、知っておきたい! 生成AIエージェントの世界
elith
3
350
使ってみよう Azure AI Document Intelligence
kosmosebi
2
280
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
190
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
170
Site Reliability Engineering for GMO
pyama86
7
1k
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
160
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
670
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
250
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
18k
"config" ってなんだ? / What is "config"?
okashoi
0
240
Featured
See All Featured
The Language of Interfaces
destraynor
151
23k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
Designing Experiences People Love
moore
136
23k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Code Review Best Practice
trishagee
55
15k
Music & Morning Musume
bryan
41
5.6k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
Teambox: Starting and Learning
jrom
128
8.4k
Transcript
SockJS WebSocket emulation kept simple, stupid Marek Majkowski
[email protected]
None
HTTP WebSockets
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
@sockjs github.com/sockjs
None
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
Orbited
Socket.io
Socket.io
Socket.io cross domain Opera IE8, IE9 WebSockets - - Flash
Socket ? ? AJAX CORS - ~ Forever IFrame - - JSONP + +
postMessage
SockJS cross domain Opera IE8, IE9 WebSockets - - Flash
Socket ? ? postMessage + AJAX CORS + + postMessage + Forever IFrame + + JSONP + +
#sockjs SockJS 1. Fallbacks 2. Cross domain support 3. Scalability
explained (sticky sessions) 4. Specified protocol, multilingual 5. WebSocket like API
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 ????
@sockjs http://sockjs.org github.com/sockjs/sockjs-client
mud.sockjs.org