Multiple versions online
You can run two versions of the same microservice at the same time. If you have a user base that is using an old version of your API, for example, you can keep the old service available for them. Especially when updating apps, it often happens that not all users update to the newest version as soon as they can.
For the clients/users to differentiate between different versions of your service, you often use URL-identifiers such as https://api.domain.com/v1/users versus https://api.domain.com/v2/users
Notice that it contains a versioning string in the URL. The little v1 indicates that we want a specific version of this API service. We could run a second version of this service that is using v2 as an indicator and would ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access