Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SockJS - NodeJS showcase - Dec 2011
Search
majek04
December 06, 2011
Programming
650
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SockJS - NodeJS showcase - Dec 2011
majek04
December 06, 2011
Transcript
17 slides
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
More Decks by majek04
See All by majek04
Keeloq_AD_2025__1_.pdf
majek04
0
83
BPF programmable socket lookup
majek04
0
700
Linux at Cloudflare
majek04
3
9k
DDoS Landscape
majek04
0
460
Inside Cloudbleed
majek04
3
3.2k
Golang sucks
majek04
21
53k
Gatelogic - Somewhat functional reactive framework in Python
majek04
1
5.5k
How Cloudflare deals with largest DDoS attacks?
majek04
2
3.8k
Why we chose Service Worker API
majek04
0
3k
Other Decks in Programming
See All in Programming
The Cost of the DOM
ypresto
9
4.6k
ruby/uri meets WHATWG
jinroq
0
190
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
160
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
620
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
450
Apache Airflow Introduction
leew
1
100
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
320
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
200
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
290
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
180
はじめてのKubernetesコントリビューション
nasa9084
0
340
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
1
1.3k
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
56
10k
Agile that works and the tools we love
rasmusluckow
331
22k
We Are The Robots
honzajavorek
0
470
Between Models and Reality
mayunak
4
620
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
980
The untapped power of vector embeddings
frankvandijk
2
2k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.6k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
Thoughts on Productivity
jonyablonski
76
5.5k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Building Adaptive Systems
keathley
44
3.3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
700