2 ms·
>> A real issue with microservices is that you can no longer use the database system for transactional integrity. > Is there a better option? And what is it?
by adrianmsmith 6y ago
>> A real issue with microservices is that you can no longer use the database system for transactional integrity.
> Is there a better option? And what is it?
If you truly have a distributed system, then you have to pick from a number of not-ideal options.
But, there are certainly many systems where the developers and architects have a choice as to whether to create a microservices or a monolith. If you're facing that sort of choice, the "better option" (in terms of being a solution to distributed transactions) is to use a monolith, and not have to deal with distributed transactions at all. You get the facility to just rollback the entire transaction.