API Design · Senior · Question 9 of 75

An API writes to a primary database and serves reads from replicas. A client creates an item and immediately lists items without seeing it. How should the API design handle this?

Explanation

Document consistency guarantees per endpoint. Clients can use the create response instead of re-reading immediately.

Further reading

Problem with a question

API Design · Senior · question 9

Test yourself

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

Take this quiz