Contrary to popular opinion, there is no one size fits all solution to ensuring data consistency across microservices. One must first determine how consistent your data must be for your application as there are many approaches available, providing a range of consistency guarantees. This session will cover several common approaches to data consistency in microservices using the Oracle Transaction Manager for Microservices (MicroTx). These approaches range from eventual consistency protocols such as Long Running Actions defined by the Eclipse MicroProfile to strong consistency protocols such as 2 phase XA transactions as defined by The Open Group. A third protocol called the Try-Confirm/Cancel protocol will also be covered as it provides stronger consistency than Sagas without requiring locking as is required with XA.
Attendees should have a basic understanding of REST based microservices and distributed transactions.