Reliability Patterns
Composing retry, timeout, circuit breaker, bulkhead and rate limiter policies, fallback and graceful degradation, health checks and backpressure across distributed .NET services.
-
How would you test that your fallbacks and degraded modes actually work before a real outage?
Mid-Level
Theory
Reliability Patterns
-
How do you shut down an ASP.NET Core service in Kubernetes without dropping in-flight requests during a rolling deploy?
Senior
Architecture
Reliability Patterns
-
Your service calls a downstream API through HttpClient with a timeout, retries, a circuit breaker and a concurrency limit. In what order do you compose these, and why does the order matter? How do timeout budgets and deadlines work when the call is one hop in a chain of services?
Composing resilience strategies in the right order (limiter, total timeout, retry, circuit breaker, attempt timeout), what goes wrong with the wrong order, and timeout budgets and deadline propagation across a chain of distributed .NET services.
Mid-Level
Theory
Reliability Patterns
Β· π 3 follow-ups Β· π 1 real-world
-
What are fallback and graceful degradation in a distributed system? How do you serve cached or partial data when a dependency fails, how do feature switches help, what should the user see, and when must you fail closed instead of falling back?
Fallback strategies (cached, default, partial and alternative responses), graceful degradation of non-critical features, feature switches and kill switches, what to show users, and when a system must fail closed rather than fall back.
Mid-Level
Theory
Reliability Patterns
Β· π 3 follow-ups Β· π 1 real-world
-
Your API is overloaded: latency climbs, requests queue and eventually everything times out. How do you shed load at the edge of the service instead of falling over? Explain bounded queues and concurrency limits, the ASP.NET Core rate limiting middleware, 503 versus 429 with Retry-After, priority-based shedding, and how well-behaved clients should respond.
Load shedding at the service edge: why unbounded queues cause collapse, Little's law sizing, ASP.NET Core rate limiting and concurrency limiters, 503 versus 429 with Retry-After, priority shedding, and client behaviour that keeps the system recoverable.
Senior
Theory
Reliability Patterns
Β· π 3 follow-ups Β· π 1 real-world
-
You are designing health checks for a fleet of .NET services behind load balancers and Kubernetes. How do you make health checks tell the truth? Explain liveness, readiness and startup checks, which dependencies belong in which, how health checks cause cascading restarts and outages, and how you implement and secure them in ASP.NET Core.
Designing truthful health checks across a distributed estate: liveness vs readiness vs startup, which dependencies to check where, how probes cause cascading restarts and fleet-wide outages, and implementing, tuning and securing ASP.NET Core health checks.
Senior
Architecture
Reliability Patterns
Β· π 3 follow-ups Β· π 1 real-world
-
During a database slowdown, traffic to your inventory service jumps to eight times normal while user traffic is flat, and a small incident becomes a 45-minute outage across five services. You suspect a retry storm. How do you prove it, stop it, and fix it with retry budgets so it can't happen again?
A retry storm across a five-service call chain: proving retry amplification with distributed traces and metrics, stopping it during the incident, and preventing it with single-layer retries, retry budgets, Retry-After, circuit breakers and jitter.
Senior
RealWorldScenario
Reliability Patterns
Β· π 3 follow-ups Β· π 1 real-world