原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
57 原书第07章|Pause for Refactoring: An Alternative Design of the Cargo Aggregate
et's go back to one of them and, with the benefit of hindsight, stack the design deck in our favor.
The need to update Delivery History when adding a Handling Event gets the Cargo AGGREGATE involved in the transaction. If some other user was modifying Cargo at the same time, the Handling Event transaction could fail or be delayed. Entering a Handling Event is an operational activity that needs to be quick and simple, so an important application requirement is the ability to enter Handling Events without contention.
This pushes us to consider a different design. Replacing the Delivery History's collection of Handl
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch07lev1sec9.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce