SpinTheMic
Pro

Interview practice question

Supporting a new query in Cassandra

Backend Engineering · NoSQL and Redis · Intermediate

Your Cassandra table stores orders by customer. Now you need orders by product. How do you support it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Create new table partitioned by product.
  • Write to both tables (denormalised).
  • Batch/logged writes or app-level consistency.
  • Avoid secondary index on high-cardinality.
  • Backfill existing data.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics