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
1
250
SockJS - LNUG Nov 2011
majek04
November 23, 2011
Tweet
Share
More Decks by majek04
See All by majek04
BPF programmable socket lookup
majek04
0
580
Linux at Cloudflare
majek04
3
7.5k
DDoS Landscape
majek04
0
370
Inside Cloudbleed
majek04
3
2.6k
Golang sucks
majek04
21
52k
Gatelogic - Somewhat functional reactive framework in Python
majek04
1
4.8k
How Cloudflare deals with largest DDoS attacks?
majek04
2
3.2k
Why we chose Service Worker API
majek04
0
2.5k
IP Spoofing - DEFCON
majek04
1
870
Other Decks in Programming
See All in Programming
Domain-Driven Transformation
hschwentner
2
1.9k
負債になりにくいCSSをデザイナとつくるには?
fsubal
10
2.5k
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.5k
もう僕は OpenAPI を書きたくない
sgash708
5
1.9k
Jakarta EE meets AI
ivargrimstad
0
220
Rails アプリ地図考 Flush Cut
makicamel
1
130
Better Code Design in PHP
afilina
0
160
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
230
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
660
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
250
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.5k
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
1
490
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
How to Ace a Technical Interview
jacobian
276
23k
Designing for humans not robots
tammielis
250
25k
A Tale of Four Properties
chriscoyier
158
23k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
510
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
A designer walks into a library…
pauljervisheath
205
24k
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