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
260
SockJS - LNUG Nov 2011
majek04
November 23, 2011
Tweet
Share
More Decks by majek04
See All by majek04
Keeloq_AD_2025__1_.pdf
majek04
0
20
BPF programmable socket lookup
majek04
0
660
Linux at Cloudflare
majek04
3
8.6k
DDoS Landscape
majek04
0
420
Inside Cloudbleed
majek04
3
2.9k
Golang sucks
majek04
21
52k
Gatelogic - Somewhat functional reactive framework in Python
majek04
1
5.2k
How Cloudflare deals with largest DDoS attacks?
majek04
2
3.5k
Why we chose Service Worker API
majek04
0
2.7k
Other Decks in Programming
See All in Programming
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
210
dchart: charts from deck markup
ajstarks
3
1k
CSC307 Lecture 10
javiergs
PRO
1
660
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
740
今から始めるClaude Code超入門
448jp
8
9k
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
140
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
140
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
130
MUSUBIXとは
nahisaho
0
140
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.5k
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Producing Creativity
orderedlist
PRO
348
40k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
150
Balancing Empowerment & Direction
lara
5
890
Site-Speed That Sticks
csswizardry
13
1.1k
RailsConf 2023
tenderlove
30
1.3k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
330
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
150
Navigating Team Friction
lara
192
16k
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