In this post I want to talk a little about concurrency in the context of CQRS and event sourcing. Specifically, when a single aggregate is concurrently accessed by two commands (or command handlers, really). Concurrent commands Let’s assume there are two commands, DepositMoney and WithdrawMoney. Both commands are handled by the BankAccount aggregate. Let’s also assume that those two commands […]
The post Concurrent commands and event sourcing appeared first on Touchdown Consulting Services.