Advanced System Design Fundamentals
0% completed
The Partition Key Is the Design
Here is one busy restaurant's partition in a food delivery app, keyed by restaurant ID, as it grows.
- Day 1: about 1,500 rows, under 1 MB.
- Day 30: about 45,000 rows, about 27 MB.
- Day 67: about 100,000 rows, a common Cassandra limit for one partition, though only about 60 MB.
Nothing fails on any of these days, and no new index will help later. The only fix is a different key, which means building a new table and copying every row
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%