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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
majek04
December 06, 2011
Programming
630
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SockJS - NodeJS showcase - Dec 2011
majek04
December 06, 2011
More Decks by majek04
See All by majek04
Keeloq_AD_2025__1_.pdf
majek04
0
44
BPF programmable socket lookup
majek04
0
680
Linux at Cloudflare
majek04
3
8.9k
DDoS Landscape
majek04
0
440
Inside Cloudbleed
majek04
3
3k
Golang sucks
majek04
21
53k
Gatelogic - Somewhat functional reactive framework in Python
majek04
1
5.3k
How Cloudflare deals with largest DDoS attacks?
majek04
2
3.6k
Why we chose Service Worker API
majek04
0
2.9k
Other Decks in Programming
See All in Programming
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
120
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
160
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.3k
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
340
A2UI という光を覗いてみる
satohjohn
1
140
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
540
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
120
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
140
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
170
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
780
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Test your architecture with Archunit
thirion
1
2.3k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Are puppies a ranking factor?
jonoalderson
1
3.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
860
Abbi's Birthday
coloredviolet
2
8.1k
KATA
mclloyd
PRO
35
15k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
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