YoVDO

Using Sagas to Maintain Data Consistency in a Microservice Architecture

Offered By: Devoxx via YouTube

Tags

Devoxx Courses Java Courses Distributed Systems Courses API Design Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the challenges of maintaining data consistency in microservice architectures and learn how to implement sagas as an alternative to distributed transactions. Dive into the benefits and drawbacks of using sagas, understand their eventually consistent nature, and discover how to design and implement them in Java applications. Gain insights into encapsulated data, compensating transactions, API design complexities, and the differences between implicit and explicit orchestrators. Follow along as the speaker demonstrates initializing sagas, handling commands in customer services, and publishing messages using polling techniques.

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

Related Courses

Advanced Operating Systems
Georgia Institute of Technology via Udacity
High Performance Computing
Georgia Institute of Technology via Udacity
GT - Refresher - Advanced OS
Georgia Institute of Technology via Udacity
Distributed Machine Learning with Apache Spark
University of California, Berkeley via edX
CS125x: Advanced Distributed Machine Learning with Apache Spark
University of California, Berkeley via edX