System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Quorum

At the peak of the flash sale, buyers change their carts 3,000 times per second. Each tap on "Add to cart", each new quantity, and each removed item is one write. On a normal day the rate is 600 writes per second. The cart lives in its own database, with one primary that accepts every write and replicas that copy its data, like the store database in the Primary-Replica lesson.

When that primary fails, a replica takes over in about 30 seconds. During those 30 seconds, no machine accepts cart writes

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content