Design a caching layer for a web application with a PostgreSQL backend, targeting <100ms p95 response times and >80% cache hit ratio within a 2GB memory budget.
## Problem
Your web application uses PostgreSQL and response times have climbed to 400ms p95 as traffic has grown. Design a caching layer that brings p95 latency under 100ms while keeping data fresh within 60 seconds, all within a single 2GB Redis instance.
Sign up to access the full problem
Design canvas, rubric, hints, and model solutions.