API Design · Middle · Question 21 of 75

Why are retries dangerous for non-idempotent operations without protection?

Explanation

Timeouts don't tell the client whether the work happened. Idempotency keys or natural unique constraints make retries safe.

Further reading

Problem with a question

API Design · Middle · question 21

Test yourself

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

Take this quiz