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
IO Insights
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Guillermo Rauch
October 23, 2012
Programming
790
3
Share
IO Insights
Guillermo Rauch
October 23, 2012
More Decks by Guillermo Rauch
See All by Guillermo Rauch
The realtime web: HTTP/1.1 to WebSocket, SPDY & beyond
rauchg
6
1.6k
Socket.IO 1.0
rauchg
9
2.4k
The rise of server-side JavaScript
rauchg
4
310
Other Decks in Programming
See All in Programming
おれのAgentic Coding 2026/03
tsukasagr
1
140
へんな働き方
yusukebe
6
2.9k
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
350
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
440
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
250
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
180
Feature Toggle は捨てやすく使おう
gennei
0
450
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
130
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
330
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
130
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
2
260
飯MCP
yusukebe
0
490
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
106
240k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
260
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Chasing Engaging Ingredients in Design
codingconduct
0
160
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Accessibility Awareness
sabderemane
0
94
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
300
How GitHub (no longer) Works
holman
316
150k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
160
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
300
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
250
Transcript
IO Insights engine.io and socket.io analytics
About
Guillermo Rauch
@rauchg
devthought.com
learnboost.com
require(‘engine.io’)
var engine = require(‘engine.io’)(server); engine.on(‘connection’, function(socket){ socket.write(‘hello’); socket.on(‘data’, function(){}); });
require(‘socket.io’)
var io = require(‘socket.io’)(server); io.on(‘connection’, function(socket){ socket.emit(‘my’, { event: ‘data’
}); socket.on(‘random’, function(){}); }); io.of(‘/namespace’).on();
Data packets and events are the new currency
But all the tooling is oriented around REST
None
Server insight
1st strategy
Built-in instrumentation
require(‘debug’)(‘wat’)
None
2nd strategy
Meta events
socket.on(‘packet’, function(){}); socket.on(‘packetCreate’, function(){});
3rd strategy
Visualization!
require(‘engine.io-monitor’);
Captures and displays engine.io traffic
Like redis MONITOR
Realtime insight into transport usage
12% 13% 34% 41% polling-xhr polling-jsonp websocket flashsocket
Realtime insight into browser / device usage
Realtime insight into latency
None
Client insight
1st strategy
localStorage.debug
None
Looks awful
2nd strategy
Chrome extension
None
None
How?
None
What’s next?
More visualizations
Protocol analysis eg: display socket.io events differently
Custom protocols
Analyze and document performance implications
Thanks!