3 ms·
There's one hole here where it feels like things could slip through. - You call the send email API but your server crashes before the API returns 200. This wou
by vsroy 5y ago
There's one hole here where it feels like things could slip through.
- You call the send email API but your server crashes before the API returns 200.
This would be fine in the case of email servers (you just end up sending the email twice). It seems a lot less fine in the case of Stripe transactions.
I guess, the concept of idem-potency keys can solve this issue. (https://brandur.org/idempotency-keys https://brandur.org/idempotency-keys)