From Unit Tests to Synthetic Canaries at Netflix
summary
Netflix moves from unit tests to system-level checks by combining property-based tests using Hegel against internal record-store interfaces with a synthetic canary framework that generates traffic from gRPC YAML generators. The pipeline spins up real infrastructure, runs millions of requests per second, compares old and new implementations, and surfaces performance regressions and combinatoric correctness failures like a read‑your‑write cache violation. Correctness under high load is hard to triage, but the approach gives production‑fidelity confidence and faster rollout than hand‑written integration workloads.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 2:17Why we test code
- 6:10Limitations of unit tests
- 8:35Property-based testing
- 10:39Integration testing gaps
- 13:08Smoke tests and workload limits
- 14:31Canaries and production traffic
- 16:18Synthetic canaries concept
- 19:31Performance and benchmarking
- 21:20Summary and future vision
