Give me /events, not webhooks
Webhooks come with some challenges. We prefer polling an /events endpoint instead when possible.
Hasnain says:
Interesting read on systems and eventual consistency. Also, +1 for modeling your APIs after Stripe’s!
“In general, you can't rely on webhooks alone to keep two systems consistent. Every integration I've ever worked on has realized this fact by eventually augmenting webhooks with polling. This is due to a few problem areas.”
Posted on 2021-07-14T05:57:32+0000