Interview questionsStart free
Sharding, replication & partitioningMediumSDE-2
You store chat messages in Cassandra with partition key chat_id. Some group chats have years of history and millions of messages, and reads on them are slow and nodes are unbalanced. How do you redesign the key?
Asked at
MetaMicrosoftShareChat
Think first
Answer out loud as you would in the room — clarify, give numbers, name the trade-off — then compare with the model answer.
Saved on this device. Create a free account to keep it on every device.
Practise this with Sam
A real mock interview, out loud, with an honest scorecard. Free to start.