Re:Modern-Day Architecture Design Patterns for Software Prof...
by UK-Al05 on Wednesday October 14, 2020 @06:54AM
(#24775197)
In most async implementations the final stock check just cancels the order. Which is fairly rare.
An eventually consistent implementation is good enough for displaying to the user.
The extra complexity of displaying consistent and up to date stock inventory to user isn't really worth the cost instead of the fairly rare occurance of having to cancel an order.
An eventually consistent implementation is good enough for displaying to the user.
The extra complexity of displaying consistent and up to date stock inventory to user isn't really worth the cost instead of the fairly rare occurance of having to cancel an order.