3 ms·
I liked the article a lot. I prefer the term retryable to idempotent. If there's a failure in the first call, to be truly idempotent it should fail on the seco
by furstenheim 4y ago
I liked the article a lot.
I prefer the term retryable to idempotent. If there's a failure in the first call, to be truly idempotent it should fail on the second.
Retryable on the other hand is easier to argue about. Important thing is not the response but the end state of the system.
- lupire 4y agoIdempotent means that repeating the same operation eventually stabilizes, not that Op^2 = Op. It combines retryability of failures with retryability of successes. Alternatively, idempotency applies to successful operations, orthogonal from error cases. Retryability doesn't help in the case of the (bad) operation "+1" which is not idempotent.
- wnoise 4y agoIdempotent means exactly Op^2 = Op. If you want a word that means those other things, go find another, this one has long been taken.