Design a request cache that deduplicates concurrent calls and expires successful values after a TTL. What happens when the loader rejects?
Interviewer follow-up
What assumptions would you clarify first?
- Clarify the contract and constraints
- Explain the mechanism or architecture
- Name a failure mode and verification strategy
- State the tradeoff and what would change it