Using sagas to maintain data consistency in a microservice architecture by Chris Richardson

Please subscribe to our YouTube channel @ https://bit.ly/devoxx-youtube Like us on Facebook @   / devoxxcom   Follow us on Twitter @   / devoxx   The microservice architecture structures an application as a set of loosely coupled, collaborating services. Maintaining data consistency is challenging since each service has its own database to ensure loose coupling. To make matters worse, for a variety of reasons distributed transactions using JTA are not an option for modern applications. In this talk we describe an alternative transaction model known as a saga. You will learn about the benefits and drawbacks of using sagas. We describe how sagas are eventually consistent rather than ACID and what this means for developers. You will learn how to design and implement sagas in a Java application. Chris Richardson is a developer and architect. He is the author of POJOs in Action, which describes how to build enterprise Java applications with frameworks such as Spring and Hibernate. Chris was also the founder of the original CloudFoundry.com, an early Java PaaS for Amazon EC2. Today, he is a recognized thought leader in microservices. Chris is the creator of http://microservices.io, a website describing how to develop and deploy microservices. He provides microservices consulting and training and is working on his third startup http://eventuate.io, an application platform for developing microservices.

Event-Driven Architectures Done Right, Apache Kafka • Tim Berglund • Devoxx Poland 2021
▶︎

Event-Driven Architectures Done Right, Apache Kafka • Tim Berglund • Devoxx Poland 2021

Not Just Events: Developing Asynchronous Microservices • Chris Richardson • GOTO 2019
▶︎

Not Just Events: Developing Asynchronous Microservices • Chris Richardson • GOTO 2019

Managing Data in Microservices
▶︎

Managing Data in Microservices

Microservices for the Masses with Spring Boot, JHipster, and JWT by Matt Raible
▶︎

Microservices for the Masses with Spring Boot, JHipster, and JWT by Matt Raible

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra
▶︎

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Distributed Sagas: A Protocol for Coordinating Microservices - Caitie McCaffrey - JOTB17
▶︎

Distributed Sagas: A Protocol for Coordinating Microservices - Caitie McCaffrey - JOTB17

The Many Meanings of Event-Driven Architecture • Martin Fowler • GOTO 2017
▶︎

The Many Meanings of Event-Driven Architecture • Martin Fowler • GOTO 2017

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)
▶︎

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

What Comes after Microservices?
▶︎

What Comes after Microservices?

Avoiding Microservice Megadisasters - Jimmy Bogard
▶︎

Avoiding Microservice Megadisasters - Jimmy Bogard

The hardest part of microservices is your data
▶︎

The hardest part of microservices is your data

Martin Fowler  –  Microservices
▶︎

Martin Fowler – Microservices

"Good Enough" Architecture • Stefan Tilkov • GOTO 2019
▶︎

"Good Enough" Architecture • Stefan Tilkov • GOTO 2019

How Kent Beck shapes the software engineering industry
▶︎

How Kent Beck shapes the software engineering industry

React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat
▶︎

React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat

Why Netflix is betting on systems thinkers—not specialists—in the AI era | Elizabeth Stone (CPTO)
▶︎

Why Netflix is betting on systems thinkers—not specialists—in the AI era | Elizabeth Stone (CPTO)

Mastering Chaos - A Netflix Guide to Microservices
▶︎

Mastering Chaos - A Netflix Guide to Microservices

Developing microservices with aggregates - Chris Richardson
▶︎

Developing microservices with aggregates - Chris Richardson

Domain Driven Design: The Good Parts - Jimmy Bogard
▶︎

Domain Driven Design: The Good Parts - Jimmy Bogard

Introduction to Apache Kafka by James Ward
▶︎

Introduction to Apache Kafka by James Ward

Structuring Java Applications   CLI, monoliths, microservices and serverless by Adam Bien
▶︎

Structuring Java Applications CLI, monoliths, microservices and serverless by Adam Bien

System Design Concepts Course and Interview Prep
▶︎

System Design Concepts Course and Interview Prep

Designing Events-First Microservices
▶︎

Designing Events-First Microservices

Data Consistency in Microservices Architecture (Grygoriy Gonchar)
▶︎

Data Consistency in Microservices Architecture (Grygoriy Gonchar)

Authentication as a Microservice
▶︎

Authentication as a Microservice

Creating event-driven microservices: the why, how and what by Andrew Schofield
▶︎

Creating event-driven microservices: the why, how and what by Andrew Schofield