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
Metrics Matter
Search
Brendan Schwartz
February 13, 2015
Programming
1
43
Metrics Matter
An overview of Pipedream and Snowbeast, our internal metrics services at Wistia.
Brendan Schwartz
February 13, 2015
Tweet
Share
More Decks by Brendan Schwartz
See All by Brendan Schwartz
Building a Simple Content Delivery Network
bschwartz
2
120
Other Decks in Programming
See All in Programming
PagerDuty を軸にした On-Call 構築と運用課題の解決 / PagerDuty Japan Community Meetup 4
horimislime
1
110
Vaporモードを大規模サービスに最速導入して学びを共有する
kazukishimamoto
4
4.4k
CSC305 Lecture 13
javiergs
PRO
0
130
Pinia Colada が実現するスマートな非同期処理
naokihaba
2
160
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
440
デプロイを任されたので、教わった通りにデプロイしたら障害になった件 ~俺のやらかしを越えてゆけ~
techouse
52
32k
Kubernetes for Data Engineers: Building Scalable, Reliable Data Pipelines
sucitw
1
200
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1k
offers_20241022_imakiire.pdf
imakurusu
2
370
EventSourcingの理想と現実
wenas
6
2.1k
Kotlin2でdataクラスの copyメソッドを禁止する/Data class copy function to have the same visibility as constructor
eichisanden
1
140
Vue.js学習の振り返り
hiro_xre
2
130
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
38
7k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
What's in a price? How to price your products and services
michaelherold
243
12k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
7
150
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
How to Ace a Technical Interview
jacobian
275
23k
RailsConf 2023
tenderlove
29
880
The Power of CSS Pseudo Elements
geoffreycrofte
72
5.3k
Designing Experiences People Love
moore
138
23k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
Transcript
I’m @brendan.
None
None
None
None
Breadroutes S3 Primes Edgecast CDNetworks CDNs Bakery (Origin) Load Balancer
Temporary Storage Permanent Storage DNS Dyn
Things go wrong
Things go wrong
Support Ticket
Anything on fire?
Try to reproduce. Cannot reproduce.
Clear your cookies?
Long tail of problems Problems we can see Problems we
can reproduce Problems we can measure Problems we can’t see Problems we can’t reproduce Problems we can’t measure
Confession
Metrics Matter
1. HTTP POST ingest 2. Realtime subscription 3. Store all
data forever 4. Scale out
Pipedream
curl -d "some-message" \ https://pipedream/pub?topic=my-topic
Collector curl -d "some-message" \ https://pipedream/pub?topic=my-topic
NSQ Collector curl -d "some-message" \ https://pipedream/pub?topic=my-topic
NSQ Collector Consumer #topic-1 Consumer #topic-2 curl -d "some-message" \
https://pipedream/pub?topic=my-topic
NSQ Collector Archiver S3 Consumer #topic-1 Consumer #topic-2 curl -d
"some-message" \ https://pipedream/pub?topic=my-topic
Now what?
Snowbeast
Metrics.count('player/play')
None
None
None
None
None
2 billion messages in the last month
Redis Sinatra Processor Angular & D3 NSQ #metrics Pipedream Snowbeast
Support Ticket
None
None
None
Clear your cookies?
Clear your cookies?
$ wget https://pipedream/last_hour.log.gz $ gunzip last_hour.log.gz $ grep customer last_hour.log
> customer.log $ ruby tools/show-loading.rb customer.log
None
None
None
Default to Flash
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Metrics Matter
1. Own your data. 2. Keep it simple. 3. Move
that line!
Long tail of problems
Long tail of problems
http:/ /bit.ly/wistia-video-puzzle
Thank you!