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
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
390
Working with web APIs in Swift
leah
0
140
Dropbox APIs for JavaScript developers
leah
3
1.3k
Cloud sync APIs for mobile developers
leah
1
180
Cloud sync APIs for mobile developers
leah
0
260
App Data, Everywhere: Cross-Device Content Sharing
leah
2
770
Other Decks in Programming
See All in Programming
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
130
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
150
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
270
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
0
110
メールのエイリアス機能を履き違えない
isshinfunada
0
210
Prismを使った型安全な暗号化_関数型まつり2026
_fhhmm
0
160
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
200
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
290
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
940
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
390
FDEが実現するAI駆動経営の現在地
gonta
2
250
Built Our Own Background Agent at LayerX #aidevex_findy
layerx
PRO
9
4.6k
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
190
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
119
120k
It's Worth the Effort
3n
188
29k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Rails Girls Zürich Keynote
gr2m
96
14k
GraphQLとの向き合い方2022年版
quramy
50
15k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1k
Crafting Experiences
bethany
1
240
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
270
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
200
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
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/