All Questions
Cassandra medium

To prevent a single Partition (e.g., `Sensor_ID: 101`) from becoming infinitely large over time, a developer adds a time component to the key: `((Sensor_ID, Day_Bucket), Reading_Timestamp)`. What is this pattern called?

  1. A Vertical Sharding: Splitting columns into separate databases.
  2. B Bucketing: Artificially splitting a single logical partition across multiple physical partitions to keep them manageable.
  3. C Data Archiving: Moving old partitions to a cold-storage cluster.
  4. D Normalizing: Moving the data into a relational table to save space.

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

Get the app

Related questions