Hacker News new | past | comments | ask | show | jobs | submit login

Standard web forms don't guarantee at-most-once. If the connection fails when the response is sent, the user thinks it failed and retries, submitting another request and causing another record creation.

Take a look at how Stripe guarantees at-most-once execution: https://stripe.com/blog/idempotency.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: