Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using Sagas to Maintain Data Consistency in a Microservice Architecture

Devoxx via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how sagas provide an alternative to distributed transactions for maintaining data consistency across microservices. It covers eventual consistency, compensating transactions, orchestration choices, and saga implementation in Java.

Syllabus

Intro
About Chris
Microservice architecture
Loose coupling = encapsulated data
Use Sagas instead of 2PC
Rollback using compensating transactions
Sagas complicate API design
Sagas complicate the business logic
Implicit vs. explicit orchestrator
Initializing the saga
Customer Service - command handling
Publishing message using polling
Summary

Taught by

Devoxx

Reviews

Start your review of Using Sagas to Maintain Data Consistency in a Microservice Architecture

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.