One building, many tenants (design for customers who must not see or slow each other)
The Shard Key That Lied · Open board
One company outgrowing the slice of the database it was assigned, which is the last section of this lesson drawn out.
Before you start. You need the six steps from Design the Whole Thing (the interview, assembled): ask, estimate, API, data, design, bottlenecks. You need Splitting the ledger (sharding), where one big table was cut into slices by a key, because the slice a customer lands in is half of this lesson. And Rate limiting: the token bucket gave you the rate limit, a rule that says how many requests one caller may make, which comes back here with a customer’s name on it.
Lesson 72 of 115 in System Design
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.