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
46
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
開発生産性を上げるための生成AI活用術
starfish719
1
200
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
640
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
110
What's new in Spring Modulith?
olivergierke
1
110
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
210
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
150
Local Peer-to-Peer APIはどのように使われていくのか?
hal_spidernight
2
470
Model Pollution
hschwentner
1
190
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
380
Serena MCPのすすめ
wadakatu
4
930
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
160
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
1
930
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Why Our Code Smells
bkeepers
PRO
339
57k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
It's Worth the Effort
3n
187
28k
The Invisible Side of Design
smashingmag
301
51k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Thoughts on Productivity
jonyablonski
70
4.9k
BBQ
matthewcrist
89
9.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
890
Gamification - CAS2011
davidbonilla
81
5.5k
Facilitating Awesome Meetings
lara
56
6.6k
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!