The Live Chat Room
Easy · system design problem
A live event doubles chat traffic and a third of it lands in one room’s partition. More Cassandra nodes cannot spread one partition.
Chat messages and room histories live in a 6-node Cassandra ring: 30,000 requests/s, 60% reads. At T+20s a live event starts: traffic doubles for the rest of the day and 30% of all requests are for one room, whose partition lives on one replica set. Cassandra adds nodes online (data streams to them). Room histories are the same for everyone in the room.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.