News for hackers. Stuff that matters.
Re:Implementing Stripe-Like Idempotency Keys in Postgres by naasking on Friday October 27, 2017 @02:26PM (#15570958)
Time stamps are not unique, you definitely need something unique, like a GUID to distinguish it from such tokens bound to other client requests.

And you'd be better served learning about the more general abstraction rather than learning a single domain-specific trick. This solution is obvious once you know about promises.

There are no comments on this comment yet.