Skip to main content
InterviewHubPRO
Section Overview
Q44

Question 44 of 50

Part 3: Distributed Systems, Kestrel Internals & Scalability (25 - 35)

88%
ASP.NET Core & Web API (50 Qs)•Part 3: Distributed Systems, Kestrel Internals & Scalability (25 - 35)

Enterprise Health Checks: Readiness vs Liveness Probes.

senior LevelSystem Design

In Simple Words: Configured via services.AddHealthChecks():

  • Liveness Probe (/healthz/live): Reports if the process is running. If it fails, Kubernetes kills and restarts the pod container.
  • Readiness Probe (/healthz/ready): Reports if the application is ready to accept user traffic (verifies database connections, Redis pings, and Kafka broker reachability). If it fails, Kubernetes stops routing traffic to the pod until it recovers.