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
Server Sent Events
Search
Gilles
March 30, 2013
Programming
70
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Server Sent Events
A short talk on Server Sent Events given for the San Francisco HTML5 User Group.
Gilles
March 30, 2013
Other Decks in Programming
See All in Programming
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
sbt 2.0: takeoff
eed3si9n
0
160
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
630
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
Workers Cache を知る
syumai
0
360
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
It's Worth the Effort
3n
188
29k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
The Pragmatic Product Professional
lauravandoore
37
7.5k
HDC tutorial
michielstock
2
960
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
The Language of Interfaces
destraynor
162
27k
4 Signs Your Business is Dying
shpigford
187
23k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
940
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Transcript
Server Sent Events or EventSource
Gilles De Mey @gdemey on Twitter or App.net
Gilles De Mey @gdemey on Twitter or App.net Senior student
Pushing the web forward Pushing notifications or continuous data streams
from the server to the client.
EventSource • Simplex communication • FROM server TO client •
HTTP protocol • Browser automatically reconnects
Why Server Sent Events? • Dead simple protocol • No
need for huge 3rd party libraries • Almost no overhead • Works great on mobile connections (3G, EDGE, ...)
Great for... • Realtime Data Analytics • System Observations •
Patient Monitoring
Demo http://localhost:1338
Technologies • Event loop • Node.js • Twisted (Python) •
Juggernaut (Ruby)
Technologies • Needs the event loop! • Will switch to
AJAX polling
Shortcomings? • Modern browser only (Polyfill!) • No cross-domain support
• One direction
What I’ve learned • Real-time web applications can exist •
Requires little effort
Want to know more? Talk to me
Want to know more? Talk to me Github: https://github.com/gillesdemey/node_analytics Heroku:
http://node-analytics.herokuapp.com
None