feat(saga-pattern): Add Lambda durable functions saga pattern impleme…#3014
Open
tafaman wants to merge 1 commit intoaws-samples:mainfrom
Open
feat(saga-pattern): Add Lambda durable functions saga pattern impleme…#3014tafaman wants to merge 1 commit intoaws-samples:mainfrom
tafaman wants to merge 1 commit intoaws-samples:mainfrom
Conversation
…ntation - Add saga orchestrator durable function for distributed transaction coordination - Add service functions for flight, hotel, and car reservation and cancellation - Add DynamoDB tables for storing reservation state across services - Add CDK infrastructure as code for automated deployment - Add comprehensive README with architecture diagrams and deployment instructions - Add test scenarios for success and failure paths with compensation logic - Add Python Lambda functions with aws-durable-execution-sdk integration - Implements saga pattern for travel booking system with automatic rollback on failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SAGA Pattern using AWS Lambda durable functions
This pattern demonstrates AWS Lambda durable functions with saga orchestrator for distributed transaction coordination using Python 3.13, DynamoDB, and CDK. Key features include:
The pattern showcases how to implement a travel booking system where Lambda functions coordinate multiple service reservations and automatically compensate (rollback) completed steps when any downstream service fails.