Advanced System Design Fundamentals
0% completed
Designing From the Queries Backward
In the design this lesson builds, one status change costs four writes in three tables. The change is small: a courier accepts order 8812 in a food delivery app. In a normalized relational database, the same change is one write to one row. If one of the four writes is lost, the order is assigned in one table and still waiting in another.
The extra writes are not careless design. They follow from deriving the tables from the queries, which a store with no joins requires. This lesson shows that reverse order, and what it costs to keep every copy of a fact correct.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%