Session

Using Dapr Actor Model to Implement the Saga Pattern

The Saga pattern is a widely used architectural pattern for managing long-running distributed transactions. It breaks a complex transaction into smaller, loosely-coupled sub-transactions, known as saga steps. It executes them in a coordinated manner to ensure atomicity, consistency, and isolation across the distributed system.
This lecture will introduce the Saga pattern and its benefits in distributed systems. We will then provide an overview of the Distributed Application Runtime (Dapr). This open-source runtime simplifies the development of cloud-native applications by providing a set of building blocks for distributed systems.
We will dive deeper into Dapr's Actor Model, a programming model that provides a framework for building highly scalable, fault-tolerant distributed systems. We will explore the key concepts of Actors, such as state, messaging, and activation, and how they can implement the Saga pattern.
We will then demonstrate how to use Dapr Actors to implement the Saga pattern in a distributed system. We will follow a step-by-step guide on implementing the Saga pattern using Dapr Actors and show how it can handle failures, retries, and compensations.
By the end of the lecture, attendees will have a solid understanding of the Saga pattern, the Actor Model, and how to use Dapr Actors to implement complex long-running distributed transactions. They will also learn best practices and techniques for designing and implementing scalable, resilient, distributed systems.

Alon Fliess

Microsoft Regional Director, Azure MVP, ZioNet CTO

Tel Aviv, Israel

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top