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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
majek04
December 06, 2011
Programming
620
2
Share
SockJS - NodeJS showcase - Dec 2011
majek04
December 06, 2011
More Decks by majek04
See All by majek04
Keeloq_AD_2025__1_.pdf
majek04
0
31
BPF programmable socket lookup
majek04
0
670
Linux at Cloudflare
majek04
3
8.8k
DDoS Landscape
majek04
0
430
Inside Cloudbleed
majek04
3
3k
Golang sucks
majek04
21
53k
Gatelogic - Somewhat functional reactive framework in Python
majek04
1
5.2k
How Cloudflare deals with largest DDoS attacks?
majek04
2
3.6k
Why we chose Service Worker API
majek04
0
2.8k
Other Decks in Programming
See All in Programming
Road to RubyKaigi: Play Hard(ware)
makicamel
1
130
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
260
t *testing.T は どこからやってくるの?
otakakot
1
690
GoogleCloudとterraform完全に理解した
terisuke
1
110
Making the RBS Parser Faster
soutaro
0
450
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
270
Swift Concurrency Type System
inamiy
1
540
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
24
14k
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
5k
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
510
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
2
280
AIエージェントで業務改善してみた
taku271
0
540
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
450
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
680
Un-Boring Meetings
codingconduct
0
270
Tell your own story through comics
letsgokoyo
1
900
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
510
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Become a Pro
speakerdeck
PRO
31
5.9k
How to Talk to Developers About Accessibility
jct
2
180
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