cer / event-sourcing-examples

Example code for my building and deploying microservices with event sourcing, CQRS and Docker presentation
Other
3.12k stars 946 forks source link

Q: Transaction Management across decoupled services using event-driven approach #10

Open bon9it opened 8 years ago

bon9it commented 8 years ago

I'm curious about the under-the-hood idea of using event-driven Eventual Consistency instead of traditional Distributed Transaction.

I'm really sorry if my question is too general. I did try to research through so many discussions, then I found this fantastic example, which is the most meaningful resource for me.

Could you please give me few comparisons between them? Are there any best practices? I don't prefer Distributed Transaction, but I could not prove myself to use another approach.