System Design · Middle · Question 68 of 75
Why should a webhook endpoint respond quickly and process the event asynchronously?
- ✓Correct answer: Providers time out and retry slow endpoints; acknowledging fast and queuing the work avoids duplicates and timeouts
- 2Because webhooks can't carry data
- 3To save bandwidth
Explanation
Store the event, return 2xx, then process it in a worker - idempotently, because retries still happen.