News for hackers. Stuff that matters.
Re:Event Sourcing is Hard by HelloNurse on Tuesday February 05, 2019 @11:37AM (#19086886)
There is only a request, no "customer X buys the last item" event unless the system proves that the item is actually available (and other conditions). An easy way is putting requests in a queue, to ensure one of the buying attempts comes after the other and sees the item unavailable.

There are no comments on this comment yet.