July 2017
Intermediate to advanced
414 pages
11h 18m
English
Transactions in operational systems are used to maintain consistency of data stored in an RDBMS by grouping a number of operations together into one atomic block. They either commit or roll back the entire operation. Distributed systems have the concept of distributed transactions with a two-phase commit. This is particularly required if heterogeneous components such as an RPC service, JMS, and more participate in a transaction.
Is there a place for transactions in microservices? Transactions are not bad, but make use of transactions carefully by analyzing what you are trying do.
For a given microservice, if an RDBMS such as MySQL is selected as a backing store to ensure 100% data integrity (for example, a ...
Read now
Unlock full access