System Design · Middle · Question 68 of 75

Why should a webhook endpoint respond quickly and process the event asynchronously?

Explanation

Store the event, return 2xx, then process it in a worker - idempotently, because retries still happen.

Further reading

Problem with a question

System Design · Middle · question 68

Test yourself

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

Take this quiz