API Versioning Strategies: What Works and What Doesn't
summary
A bookstore API built on microservices uses an API Gateway to expose V1 and V2 concurrently; a real breaking change is replacing an author string with an authors array plus author objects, which forces new DB tables and relationships and propagates to ISBN microservice versions. Recommendation is only two versions at once, manage versions at the gateway (not by embedding business logic there), track usage with dashboards, adapt CI/CD (GitLab), configs (ConfigMap) and expect roughly double pod cost for duplicated runtimes.
AI-written summary · about
chapters (11)
- 0:00Once upon a time
- 3:09Do you really need it
- 4:07How many versions can you deal with at once
- 5:18What is a breaking change
- 6:42How to handle versioning
- 9:58How to handle multiple versions at once
- 12:31Impacts of versioning
- 14:06API versioning strategies
- 17:09Communication
- 17:54Breaking changes in authorization policies
- 19:55Summary
