System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Primary-Replica

At the evening peak, the store's database receives 8,000 reads and 300 writes every second. That is 8,300 queries per second. The database machine can serve about 5,000 queries per second, so demand is 166 percent of its capacity. Queries wait in line, and product pages that loaded in 50 ms now take several seconds.

The team has already used the easy fix once. A year ago, they moved the database to a larger machine, which doubled its capacity from 2,500 to 5,000 queries per second. That machine was enough for one more year of growth, and that year has passed

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content