Loading lesson…
Level 1 · Apprentice0 XP
Deliver messages in order, in real time, across devices, even after being offline.
Step 1 / 6
ProblemOne-to-one and group chat for 50 million daily users. Messages arrive within a second, keep their order, sync across a phone and a laptop, and survive being offline.
← → step
Before this: Design a news feed
🛠️ 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.Design the message table for a chat app in Cassandra or DynamoDB: partition key, sort key, and the query to fetch messages after a sequence. Explain how a device catches up after being offline. Finish with a rough monthly cost estimate in one line.