|
|
|
|
|
by bazizbaziz
3494 days ago
|
|
How do people in production handle the possibility that your service might miss a webhook notification? If you miss a notification you'll end up with stale data and you won't know it. Slack has a retry policy for a while but will then just give up. Another webhook provider I've looked at says nothing at all about this sort of thing. How do folks deal with this in production systems? Seems to me like the best way to address this issue is to use the webhook as a hint that you need to run some other process that guarantees you've got all updates. |
|
If receiving a webhook is critical, you should make your receiver do as little as possible to place the event into a resilient queueing system and then process them separately. That won't save you from bad DNS, TLS, etc. configs but it should help reduce the possibility that you DoS yourself with a flood of webhook events.
Also (shameless plug), you could monitor and log them (we offer retries if your server fails): https://www.runscope.com/product/alerts