October 2018
Intermediate to advanced
556 pages
15h 18m
English
As it was stated previously in this chapter, distributed transactions may be implemented in different ways. Of course, this statement is also true for persistence layers implemented with the reactive paradigm. However, given that Spring Data supports reactive transactions only for MongoDB 4 and that aforementioned transactional support is not compatible with Java Transaction API (JTA), the only viable option for implementing distributed transactions within reactive microservices would be the SAGA pattern, which was described earlier in this chapter. Additionally, the SAGA pattern has good scalability characteristics and suites better for Reactive Systems than alternative patterns that require ...