Event Looped logoEvent Looped
Practice
Learn
    • Overview
    • Scaling ReadsScaling WritesReal-time UpdatesDealing with ContentionMulti-step ProcessesHandling Large BlobsManaging Long-running TasksSecurity & Access Patterns
    • Key Technologies
    • System Design Problems
  • Company ProblemsNew
  • ArticlesBeta
Interview Preparation
  • Javascript Conceptual
  • Resume Builder
Patterns & Scaling

Multi-step Processes

Distributed transactions — sagas, two-phase commit, compensating actions, and the patterns that coordinate multi-service operations without a single database transaction.

Transaction Patterns

Master distributed transaction patterns — Two-Phase Commit, Saga (choreography & orchestration), and the Outbox pattern. Coordinate multi-service operations and handle failures gracefully.

Pro
Two-Phase Commit (2PC)Saga — ChoreographySaga — OrchestrationOutbox Pattern

Reliability

Build resilient systems — idempotency keys, retry with exponential backoff, and circuit breaker patterns. Ensure correctness despite retries, duplicates, and partial failures.

Pro
Idempotency KeysRetry with Exponential BackoffCircuit Breaker PatternResilient System Design