Skip to main content
InterviewHubPRO
Section Overview
Q40

Question 40 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

80%
SRE & Observability (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

Graceful Degradation and Load Shedding: Priority-based request drops.

senior Levelsre-observabilityAdvanced Internals

In Simple Words: When server CPU hits 95% and traffic spikes by 500%:

  • Load Shedding: The API Gateway inspects incoming request priority headers:
    • Critical Tier (Drop Probability = 0%): Login, Payment, Checkout transactions.
    • Non-Critical Tier (Drop Probability = 100%): Recommendations, analytics pings, user avatar thumbnails.
  • By shedding non-essential background traffic immediately with HTTP 429, the system stays online for revenue-generating transactions rather than collapsing into a total outage.