Tagged: pattern
4 articles
DynamoDB single-table design, worked through Four entities, six access patterns, one table, one GSI. The key design walked step by step with the runnable repo behind it. Read article Orchestration vs choreography: which to choose Side by side comparison of the two saga implementations from the previous posts. What each one cost to build, what it gives you operationally, and which questions to ask before picking. Read article Orchestration with Step Functions The same four-step order saga, this time driven by a Step Functions state machine. Catch blocks for compensation, no event bus. Read article Choreography with EventBridge Four Lambdas coordinated through EventBridge events, deployed to LocalStack. The first half of a saga pattern comparison; the orchestration version comes next. Read article