Architectural Patterns Focus: Transactions

Categories: Architecture Patterns Outbox Patterns Saga Transactions

We take a look at another facet of architectural design: how we develop and maintain transactions in architecture. Here, we will discuss some common patterns for transactions: Outbox and Saga.

  • Two-Phase Commit

  • The Problem with 2-PC

  • Using Event-Driven-Architecture to manage transactions

  • Transactional Outbox

  • Compensating Transaction

  • Optimistic vs Pessimistic Locking

  • TCC (Try-Confirm/Cancel)

  • Saga - Orchestrator

  • Saga - Choreography