Event Looped logoEvent Looped
Practice
Learn
    • Scaling ReadsScaling WritesReal-time UpdatesDealing with ContentionMulti-step ProcessesHandling Large BlobsManaging Long-running TasksSecurity & Access Patterns
Interview Preparation

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.

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.

Idempotency KeysRetry with Exponential BackoffCircuit Breaker PatternResilient System Design