Your question is Cache to In Memory to Distributed Storage to Database Workflow. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design a workflow for Cache -> In Memory -> Distributed Storage -> Database flow.
Asked in the Technical interview stage. Pseudo code was requested in this round.
Explain the responsibilities and data movement between each layer. Show the read path, write path, cache-miss behavior, invalidation strategy, consistency guarantees, failure handling, and concise pseudocode. Clarify which layer is authoritative, how stale data is handled, and how the design would avoid cascading failures.