Grokking the System Design Interview, Volume II
0% completed
Step 7: Scalability and Performance
Picture 9:00 AM on a weekday. About 1 million reminders come due in the same minute, and the spike grows with the user base, because new users also pick 9:00. That one minute creates four separate problems:
- The schedule holds 1 million rows for one minute, too many for one database partition.
- The scheduler must read all of those rows and publish them within seconds.
- The senders and providers cannot deliver 1 million messages at the same instant.
- The spike lasts about one minute, which is shorter than autoscaling takes to react.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%