Tag

On-call

5 posts

Circuit Breakers and Bulkheads: Keep One Broken Downstream from Taking Down the Whole System

System Design series Part 6-3: circuit breakers fail fast and fall back when a downstream fails, bulkheads stop cascading failures, in Resilience4j and @ConcurrencyLimit.

System Design System Design · Circuit Breaker · Bulkhead

Observability: Metrics, Logs, Traces, and SLOs, from 'It Seems Slow' to Finding the Cause

System Design series Part 6-5: find problems with metrics, logs, and traces; cardinality explosions, sampling, SLO burn-rate alerts, and audit log and telemetry security.

System Design System Design · Observability · OpenTelemetry

Rate Limiting: Algorithms, Distributed Rate Limiting, and How It Differs from Load Shedding

System Design series Part 6-4: fixed window, sliding window, and token bucket compared, distributed limits, keys and 429s, versus load shedding, and a Redis Lua script.

System Design System Design · Rate Limiting · Token Bucket

Redundancy, Failover, and Disaster Recovery: From Availability Numbers to Restore Drills

System Design series Part 6-1: availability math, RPO, and RTO for redundancy; the four failover steps; why replication is not a backup; restore drills and ransomware.

System Design System Design · High Availability · Failover

Timeouts, Retries, Backoff, and Jitter: How Retries Save a System, and How They Bring It Down

System Design series Part 6-2: timeouts and timeout budgets, which errors to retry, backoff, jitter, and retry budgets against retry storms, with Spring 7 @Retryable.

System Design System Design · Timeout · Retry