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
Data Decay and the Illusion of the Present
Search
API Strategy & Practice Conference
October 24, 2013
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Data Decay and the Illusion of the Present
By Dan Lynn @ API Strategy & Practice Conference
San Francisco, October 23-24-25, 2013
API Strategy & Practice Conference
October 24, 2013
More Decks by API Strategy & Practice Conference
See All by API Strategy & Practice Conference
APIStrat 2016 | The end of polling: why and how to transform a REST API into a Data Streaming API (Audrey Neveu)
apistrat
12
350
APIStrat 2016 | OpenAPI Trek: Beyond API Documentation (Arnaud Lauret)
apistrat
5
250
APIStrat 2016 | Flying Dreams: Real-Time Communication from the Edge of Space (Jonathan Barton, Neha Abrol)
apistrat
1
190
APIStrat 2016 | On-prem support? That was so 1982 (Charlie Ozinga)
apistrat
0
160
APIStrat 2016 | Effortless microservices in production with Kubernetes (Ken Wronkiewicz)
apistrat
0
190
Song by Tony Blank
apistrat
0
220
API Lifecycle Manager by Steve Fonseca
apistrat
2
290
APIs In The Enterprise: How Walgreens Formed It's Digital Business by Drew Schweinfurth
apistrat
1
430
Developers Are Difficult by Andrew Noonan
apistrat
0
160
Other Decks in Technology
See All in Technology
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
450
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
13
7.6k
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2.5k
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
1.6k
Argo CDとAtlantisで実現するインフラ管理のセルフサービス化──小規模SREチームで支えるプラットフォーム
cassius7
0
160
Goodbye ShellScript, Hello File-based App
shunsock
0
1.1k
AI Native Platform Engineering 〜PlatformとAgileで“作る速さ”を“価値”へ〜
uya116
0
150
「どのログを見ればいい?」 から始めた サーバーレス障害解析
y_waka1
1
150
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
310
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
13
10k
作って終わりじゃないサーバーレス 〜9年運用する大規模EC物流API基盤の設計・運用のリアル〜
zozotech
PRO
0
540
3人で1000GPU超を統合運用する?マルチクラウド&オンプレを跨ぐ、構築と運用のリアル!
kazukun0716
2
210
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
55
13k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Speed Design
sergeychernyshev
33
2.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
830
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
From π to Pie charts
rasagy
1
380
The SEO Collaboration Effect
kristinabergwall1
1
570
ラッコキーワード サービス紹介資料
rakko
1
5M
Transcript
Data Decay and the Illusion of the Present Dan Lynn
@danklynn
Keeps all your contacts in one place and keeps them
automatically up to date. Based in Denver, Colorado CTO & Co-Founder
[email protected]
@danklynn
Let’s talk about time.
None
The Past
http://wearcam.org/dundas-square/2004sep23/cement.jpg
The Future The Past The Present
Unless you’re a yogi, you probably can’t even perceive the
present.
http://applemagazine.com/wp-content/uploads/2012/12/ exc.jpeg
- Washington Post (September 24, 2013) “Traders may have gotten
last week’s Fed news 7 milliseconds early“
It’s just a question of how old. Data is always
old
How do APIs keep data fresh?
Polling • Simple • But can lead to complex scheduling
• Trades efficient use of resources for fresh data. GET /notifications?since=1382630675166
- Zapier “98.5% of polls are wasted”
Ping/Pull • XML-RPC • Facebook Realtime updates • Avoids scheduled
polling • Consumer must host an endpoint • Moderate latency (3 hops) • Complex
Push • Github service hooks • Content of change is
pushed • Payload can be diff or full resource • Consumer must host an endpoint • Lowest latency (1 hop)
We are moving towards a push-based API ecosystem
“Security is abnormally slow.” Flight Delays
“Dan Lynn changed his phone number” Contact Information
Dynamic Subscriptions POST /contacts/123/subscriptions { "url" : "https://.../updates?contactId=123" } 201
Created { "url" : "/contacts/123/subscriptions/a3b"}
Dynamic Subscriptions DELETE /contacts/123/subscriptions/a3b 200 OK
So which model is right for your API?
What’s the cost of acting on wrong data?
$100 per contact Source: SiriusDecisions If left untreated
Low time sensitivity? Polling is fine.
High time sensitivity? Go with push.
APIs are combating information asymmetry.
Thanks! @danklynn See Also: http://xmpp.org/extensions/xep-0060.html https://code.google.com/p/pubsubhubbub/ http://www.resthooks.org/