what steps are you referring to?
May be in "Using Idempotency Key to Prevent Double Payment“ diagram. What if at the step 2,the server successfully store the idempotency key to in-memory DB, but it failed to make network request to the ACID DB at step 3?
I see, I don't have insights to their implementation details. But I'd guess:
1) they store the idempotency key only after ACID DB passes the request.
2) Or remove the idempotency key if ACID DB fails the request.
Does that help? Perhaps I'm overseeing some details or misunderstood the question.
undefined subscriptions will be displayed on your profile (edit)
Skip for now
For your security, we need to re-authenticate you.
Click the link we sent to , or click here to sign in.
what steps are you referring to?
May be in "Using Idempotency Key to Prevent Double Payment“ diagram. What if at the step 2,the server successfully store the idempotency key to in-memory DB, but it failed to make network request to the ACID DB at step 3?
I see, I don't have insights to their implementation details. But I'd guess:
1) they store the idempotency key only after ACID DB passes the request.
2) Or remove the idempotency key if ACID DB fails the request.
Does that help? Perhaps I'm overseeing some details or misunderstood the question.