Derza Arsad

29%
Flag icon
Well, the first option could be to just not split the data apart in the first place. If you have pieces of state that you want to manage in a truly atomic and consistent way, and you cannot work out how to sensibly get these characteristics without an ACID-style transaction, then leave that state in a single database, and leave the functionality that manages that state in a single service (or in your monolith).
Building Microservices: Designing Fine-Grained Systems
Rate this book
Clear rating
Open Preview