Designing Circuit Breakers for Distributed Services
Learn how to stop cascading failures with circuit breakers that open on real dependency pain, probe recovery safely, and expose clear fallbacks.
Topic
11 Devspedia articles tagged with backend.
Learn how to stop cascading failures with circuit breakers that open on real dependency pain, probe recovery safely, and expose clear fallbacks.
Learn how to isolate service capacity with bulkheads so one slow dependency, tenant, queue, or feature cannot exhaust the whole system.
Learn how to protect APIs during overload with admission control, bounded queues, backpressure signals, and clear degradation rules.
Learn how to retry transient failures without amplifying outages by combining timeouts, backoff, jitter, budgets, and observability.
Learn how to drain HTTP requests, stop background work, close dependencies, and make Node.js deployments terminate safely.
Learn how to prevent lost updates with version columns, ETags, compare-and-swap writes, and useful conflict responses.
Learn how to design token-bucket API rate limits that protect services without punishing normal users.
Learn how to ship database schema changes safely with expand-contract migrations, batched backfills, compatible application deploys, and clear rollback points.
Learn how the transactional outbox pattern keeps database writes and event publication consistent without distributed transactions.
Learn how to design cursor pagination APIs that remain stable when records are inserted, deleted, or queried at scale.
Learn how idempotency keys prevent duplicate side effects in retry-heavy clients by combining request fingerprinting, state tracking, and careful concurrency handling.