System Design · Senior · Question 26 of 75

How do you deploy an API change without breaking clients on the old version?

Explanation

Open tabs, mobile apps and caches live with old code. First the API supports both the old and new format, then clients migrate, and only then is the old one removed. The same approach applies to DB schema migrations.

Further reading

Problem with a question

System Design · Senior · question 26

Test yourself

Take the System Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz