Tag Archives: Redis

How to avoid double payments and ensure idempotency in a distributed web application with Spring Boot

Idempotency Idempotency means that no matter how many times you execute the request, the result is the same. Speaking of idempotency, you have to say repeated submission. You click the submit button continuously. In theory, this is the same piece of data. The database should only store one item but store multiple items, which violates idempotency. Therefore, we… Read More »