$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Data Decay and the Illusion of the Present
Search
API Strategy & Practice Conference
October 24, 2013
Technology
0
120
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
Tweet
Share
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
300
APIStrat 2016 | OpenAPI Trek: Beyond API Documentation (Arnaud Lauret)
apistrat
5
230
APIStrat 2016 | Flying Dreams: Real-Time Communication from the Edge of Space (Jonathan Barton, Neha Abrol)
apistrat
1
140
APIStrat 2016 | On-prem support? That was so 1982 (Charlie Ozinga)
apistrat
0
120
APIStrat 2016 | Effortless microservices in production with Kubernetes (Ken Wronkiewicz)
apistrat
0
160
Song by Tony Blank
apistrat
0
180
API Lifecycle Manager by Steve Fonseca
apistrat
2
250
APIs In The Enterprise: How Walgreens Formed It's Digital Business by Drew Schweinfurth
apistrat
1
390
Developers Are Difficult by Andrew Noonan
apistrat
0
130
Other Decks in Technology
See All in Technology
Jakarta Agentic AI Specification - Status and Future
reza_rahman
0
110
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
230
エンジニアリングをやめたくないので問い続ける
estie
2
1.2k
S3を正しく理解するための内部構造の読解
nrinetcom
PRO
2
110
ChatGPTで論⽂は読めるのか
spatial_ai_network
9
29k
Sansanが実践する Platform EngineeringとSREの協創
sansantech
PRO
2
900
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
3.4k
シニアソフトウェアエンジニアになるためには
kworkdev
PRO
3
170
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
9
5.4k
生成AI時代におけるグローバル戦略思考
taka_aki
0
200
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
1.3k
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
1
210
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.4k
Docker and Python
trallard
47
3.7k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
730
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.3k
Site-Speed That Sticks
csswizardry
13
1k
Raft: Consensus for Rubyists
vanstee
141
7.2k
Unsuck your backbone
ammeep
671
58k
Designing for Performance
lara
610
69k
Writing Fast Ruby
sferik
630
62k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Balancing Empowerment & Direction
lara
5
800
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/