Problem Statement
How do you identify and optimize the critical request path in an HLD?
Explanation
Trace the user’s most frequent action end to end. Count network hops, synchronous dependencies, and cache hits. Anything on the p95 critical path gets caching, denormalized views, or precompute.
Remove cross-region calls, use connection pooling, and keep payloads small. Everything else can be async off the path.
Code Solution
SolutionRead Only
GET /feed -> CDN -> API -> Cache -> Store
Practice Sets
This question appears in the following practice sets:
