API Design · Senior · Question 38 of 75
How can you roll out a risky API change safely?
- 1Change it in production and watch Twitter
- ✓Correct answer: Behind a feature flag or new version, canary to a small share of traffic or selected clients, monitor errors and roll back quickly
- 3Deploy to all clients at once on Friday
Explanation
Shadow traffic (replaying real requests against the new version) can also catch differences before release.