© Binildas Christudas 2019
Binildas ChristudasPractical Microservices Architectural Patternshttps://doi.org/10.1007/978-1-4842-4501-9_14

14. Transactions and Microservices

Binildas Christudas1 
(1)
Trivandrum, Kerala, India
 

Chapter 13 covered distributed transactions extensively. You now understand distributed transactions clearly so you use them judiciously. To make it clear, you want to avoid distributed transactions as much as possible in the microservices world across partitions and domains. I do not say that distributed transactions should be deprecated completely in microservices architecture because there are areas where you want to use them by trading loose coupling for reliability; however, the essence is that you can do most of the design ...

Get Practical Microservices Architectural Patterns: Event-Based Java Microservices with Spring Boot and Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.