Member-only story
Weekly Digest #67
7 min readMar 22, 2022
Articles
Extracting Value from Business Architecture and IT Architecture
webhook
- faster for getting started
polling /events
- better guarantee on nothing gets dropped
- If we go down, we don’t have to worry about missing webhooks. And when we come back up, we can catch up at our own pace.
- If we deploy a bug that mishandles events, no sweat. We can deploy a fix and rewind the cursor for
/events
, which will play them back. - No need for a message bus on our end.
- We don’t have to worry about Stripe’s webhook senders delaying delivery. Speed is in our hands. The only thing between us and the freshest data is any caching at the API layer that Stripe is doing (which appears to be none.)
- We’re using a simple token-based authentication scheme.
- The way we pull and process events…