Loading lesson…
Level 1 · Apprentice0 XP
Design key-value and document databases from access patterns, single-table design, and when to choose them.
Step 1 / 6
ProblemA team normalises data into ten DynamoDB tables like they would in PostgreSQL. Every screen needs five requests and a join in code, and costs climb.
← → step
Before this: Backups, recovery and disaster drills
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.List eight access patterns for a chat app (messages of a room by time, rooms of a user, unread counts...), then design a single-table DynamoDB model with partition and sort keys and at most two secondary indexes.