Explain it in 60 seconds
Database vs cache roles
System Design · Databases · Beginner
What is the difference between a database and a cache in a design?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Database: durable source of truth.
- Cache: fast, temporary copy.
- Cache can be lost and rebuilt.
- Cache reduces DB load and latency.
- Keep them consistent with invalidation.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.