All Questions
Cassandra medium

A table for 'Global Events' uses a constant value (e.g., `event_log`) as its Partition Key. This allows it to store all historical events in a single partition. Why is this model critically flawed at scale?

  1. A It creates a 'Hot Partition': One specific node must handle 100% of the writes and store 100% of the data, while other cluster nodes sit idle.
  2. B Cassandra forbids partitions from containing more than exactly 1,000 rows.
  3. C Data within a single partition cannot be sorted by time.
  4. D Using a constant partition key makes it impossible to use the `DELETE` command.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions