Closed roylee0704 closed 8 years ago
hackernews!! read the comment!
https://news.ycombinator.com/item?id=9857288
We've moved down this path from a massively complicated distributed transaction environment on top of MSMQ, SQL Server etc and you know what? With some careful design and thought about ordering operations and atomic service endpoints, we didn't need them at all after all. Transactions can be cleanly replaced with reservations in most cases i.e. "I'll reserve this stock for 10 minutes" after which point the reservation is invalid. So a typical flow for a order pipeline payment failure would be:
great google group!
https://groups.google.com/forum/#!topic/clean-code-discussion/SKckq7D59D0
ddd is chosen as the core technique to structure the codebase, then followed by clean architecture (not extreaming)
https://medium.com/aws-activate-startup-blog/using-containers-to-build-a-microservices-architecture-6e1b8bacb7d1#.b93sdq48n