API Design · Senior · Question 70 of 75

Why do event-driven APIs usually promise 'at-least-once' rather than 'exactly-once' delivery?

Explanation

Document the guarantee and give each event a unique ID for deduplication.

Further reading

Problem with a question

API Design · Senior · question 70

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