01Cloud Computing
Serverless Saga Pattern: Orchestrating Distributed Transactions with AWS SQS & TypeScript Lambda
Master the Serverless Saga Pattern to reliably manage distributed transactions in microservices architectures using AWS SQS for message orchestration and TypeScript for Lambda function development. Learn to design, implement, and monitor robust, eventually consistent systems.
Advanced16 hours (Self-paced, estimated 2-3 weeks)₹3,999
vscode · thewebvale/courses
1// saga-sqs-ts-lambda-001.ts 2export const course = { 3 title: "Serverless Saga Pattern:…", 4 stack: ["AWS", "Serverless", "Saga Pattern"], 5 level: "Advanced", 6 duration: "16 hours (Self-paced, estimated 2-3 weeks)", 7 modules: 6, 8 price: "₹3,999", 9};
02The stack
What you’ll work with.
The tools this course is built on, used the way teams use them on real projects.
6 modules
16 hours (Self-paced, estimated 2-3 weeks)
16 hours (Self-paced, estimated 2-3 weeks)
03Outcomes
By the end, you can…
Understand the challenges of distributed transactions in microservices and why the Saga Pattern is a suitable solution.
Differentiate between orchestration and choreography Sagas and choose the appropriate pattern for your use case.
Design an orchestration-based Saga workflow with local transactions and compensating actions.
Implement core Saga logic using AWS Lambda (TypeScript) to manage state and orchestrate steps.
Utilize AWS SQS as a robust message broker for inter-service communication and Saga eventing.
Develop compensating transactions to ensure data consistency and enable effective rollbacks.
04Curriculum
6 modules. Pick one.
Introduction to Distributed Transactions & the Saga Pattern
- Challenges of Distributed Transactions in Microservices4 lessons · Review of traditional ACID transactions (2PC limitations).
- Understanding the Saga Pattern4 lessons · Definition and core principles of the Saga Pattern.
- Orchestration vs. Choreography Sagas3 lessons · Detailed comparison of orchestration-based vs.…
- Key Concepts and Terminology4 lessons · Saga execution coordinator (orchestrator).
05Your first days
What the first days look like.
01Day 1: Foundations: Understanding Sagas and Setting Up**Morning (2 hours):** Course Introduction, Challenges of Distributed Transactions, Deep Dive into Saga Pattern (Orchestration vs. Choreography).
02Day 2: Building the Core Saga: Orchestrator and Happy Path**Morning (3 hours):** Saga design session for a sample E-commerce order (Order, Payment, Inventory). Hands-on: Implement DynamoDB table for Saga state.
03Day 3: Resilience & Advanced Topics: Compensation and Monitoring**Morning (3 hours):** Hands-on: Implement the 'Payment Service' and 'Inventory Service' participant Lambdas. Introduce simulated failures. Design and implement compensating transactions for each service.
06Before you start
Are you ready?
Tap what you already know. Missing a piece? We’ll point you to the right starting point.
0 of 5
Not sure yet?
07Enroll
Start this week.
CourseServerless Saga Pattern: Orchestrating Distributed Transactions…
- Price
- ₹3,999
- Duration
- 16 hours (Self-paced, estimated 2-3 weeks)
- Level
- Advanced
- Mode
- Online