Idempotent Commands
Idempotence is the property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result beyond the initial application. When you click the “Place Order” button on magical unicorn e-commerce site, you expect your order to be submitted only once. You also expect that your credit card on on the order you just placed shouldn’t happen more than once. There are different ways to handle idempotency at various levels of your application. Persistence Context is important. In my context, I’m using a ACID compliant database (MySQL) for storing my current state. I’m also using… Read More »Idempotent Commands