Tag: Microservices
All the articles with the tag "Microservices".
-
Distributed Transaction Failure: Order Succeeds but Payment Fails
Series: Backend Interview Mastery
Solve an order-payment distributed transaction failure with a Saga, durable state machine, compensation, idempotency, and reconciliation.
-
A Downstream Service Times Out: How Do You Contain the Failure?
Series: Backend Interview Mastery
Answer a backend interview scenario about downstream timeouts with deadlines, retry budgets, circuit breakers, bulkheads, and graceful fallbacks.
-
Distributed Transactions: Why Local ACID Is Not Enough
Series: Backend Interview Mastery
Learn why local ACID stops at service boundaries and how outbox, two-phase commit, and Saga patterns coordinate distributed work.
-
Saga Pattern: Orchestration, Choreography and Compensation
Series: Backend Interview Mastery
Learn the Saga pattern for reliable distributed transactions, including orchestration, choreography, compensation, retries, and idempotency.
-
Backend Timeouts: Connection, Read and Request Budgets
Series: Backend Interview Mastery
Design backend timeouts with connection, read, request, and deadline budgets that prevent resource leaks and cascading latency.
-
Exponential Backoff with Jitter: Retry Budgets and Safe Retries
Series: Backend Interview Mastery
Design safe retries with exponential backoff, jitter, idempotency, retry budgets, and circuit breakers without creating retry storms.
-
Circuit Breaker Pattern: States, Failure Handling and Trade-offs
Series: Backend Interview Mastery
Learn the circuit breaker pattern, its closed, open, and half-open states, failure thresholds, fallbacks, and interaction with retries.
-
Service Discovery: DNS, Registries and Kubernetes Services
Series: Backend Interview Mastery
Learn service discovery with DNS, registries, health checks, and Kubernetes Services, including client-side and server-side trade-offs.
-
Synchronous vs Asynchronous Communication: Trade-offs and Examples
Series: Backend Interview Mastery
Compare synchronous vs asynchronous communication in backend systems, including latency, queues, retries, delivery guarantees, and practical trade-offs.
-
API Gateway Explained: Architecture, Responsibilities and Trade-offs
Series: Backend Interview Mastery
Learn API gateway architecture for backend interviews: routing, authentication, rate limiting, aggregation, failure handling, and trade-offs.