The Well Tempered API
summary
Argues that software should survive like 400‑year‑old music by decoupling interfaces from implementations, demonstrating a concrete fetch-transform-save API used in a Firefox crash pipeline that handles 5-6 million crashes a day and swaps storage backends (file system, hbas, postgress, rabbit mq, elastic search, Amazon S3) without downtime. Shows dynamic import-based dependency injection, a multi-crash-store that writes to multiple targets, a 70 TB migration to S3 over two months with zero restart, and music metaphors like equal temperament and threading refactoring.
AI-written summary · about
chapters (22)
- 0:00Intro
- 2:44the Well Tempered API
- 16:0612 tone chromatic scale
- 17:51patterns create different scales
- 18:09C major scale
- 19:13major scales
- 20:12the tuning of scales is called Temperament
- 20:31modern tuning is called Equal Temperament
- 23:47by cheating
- 27:07which, in turn, enabled Hardware Compatibility
- 30:37Crash Storage Base
- 31:23The Crash Storage API is implemented for
- 32:23Socorro's Chromatic Scale
- 37:13Socorro 2010.1
- 40:29Socorro Early 2015
- 41:41Little Fugue in G minor
- 43:04Johann Sebastian Bach
- 49:07Abstracting Threading Models
- 49:29How do you shut down a thread?
- 50:47def cooperate_for_threads(): if threads should quit
- 51:54Multi-Thread
- 52:07MultiProcess








