HardDesign: Chat System (WhatsApp/Slack)

What Cassandra partition key design supports efficient message retrieval for a conversation?

Tests your understanding of this concept.

Answer Options

APartition by user_id
BPartition by message_id
CPartition by conversation_id, cluster by message_id
DPartition by date, cluster by conversation_id

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Chat System (WhatsApp/Slack) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Chat System (WhatsApp/Slack) topic (System Design Cases).

More Design: Chat System (WhatsApp/Slack) Questions