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
Why we chose long-polling over websockets
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Leah Culver
November 08, 2011
Programming
980
7
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Why we chose long-polling over websockets
...and it's not what you think.
Leah Culver
November 08, 2011
More Decks by Leah Culver
See All by Leah Culver
Writing stable iOS applications
leah
2
260
Idea to launch - the start of a startup
leah
1
120
Say “yes” to user feedback
leah
0
110
Intro to Dropbox APIs
leah
0
400
Working with web APIs in Swift
leah
0
150
Dropbox APIs for JavaScript developers
leah
3
1.3k
Cloud sync APIs for mobile developers
leah
1
190
Cloud sync APIs for mobile developers
leah
0
270
App Data, Everywhere: Cross-Device Content Sharing
leah
2
780
Other Decks in Programming
See All in Programming
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
460
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
160
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.1k
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
120
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
140
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
320
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
110
FreeBSDでZabbixを動かす.pdf
kenkino
0
270
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
280
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
170
スマート反転とウェブアクセシビリティ
camiha
0
210
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.4k
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
A designer walks into a library…
pauljervisheath
211
25k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
202
76k
Become a Pro
speakerdeck
PRO
31
6.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
GitHub's CSS Performance
jonrohan
1033
470k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
Transcript
Leah Culver Keeping it Realtime 2011 Why we chose long-polling
over websockets ... and it’s not what you think
moist
short
product
theory
fight!
Convore topic-based chat on the web
None
Leafy Chat web-based IRC client
None
Grove Hosted IRC and so much more.
None
None
None
None
None
None
chat
99%
1%
presence
long polling
new
presence
why???
fresh code
IRC server
google talk
work with us
Questions?
Photos http://www.flickr.com/photos/throwboy/3060442619/ http://www.flickr.com/photos/clover_1/2201448124/ http://www.flickr.com/photos/coldtaxi/426162862/ http://www.flickr.com/photos/reid-bee/3437020090/ http://www.flickr.com/photos/freethehops/6039819664/ http://static.panoramio.com/photos/original/31877600.jpg http://www.flickr.com/photos/heathbar/4850822709/ http://www.flickr.com/photos/drachmann/327122302/ http://www.flickr.com/photos/wgyuri/501884430/
http://www.flickr.com/photos/meowr/4485874366/ http://www.flickr.com/photos/aliaholle/5888906660/ http://bucks4boobiesauction.blogspot.com/2010/06/ auction-item-4-lisa-frank-angel-cat.html http://www.flickr.com/photos/anecia/3226532722/ http://www.flickr.com/photos/essjay/229819241/ http://www.flickr.com/photos/pedestrianrex/2420997341/ http://www.flickr.com/photos/nirak/644335254/ http://www.flickr.com/photos/viamoi/3338093351/ http://www.flickr.com/photos/67064475@N00/340479478/