Page 9
Partitioning, Bucketing, Sharding, Replication, Edge: The Clean Mental Model
A precise mental model for partitioning, bucketing, sharding, replication, and edge computing - when to use each and why they exist at different layers.
SP7 - Proxy - Learn Design Pattern From Simple Things
The boss blocks social media so employees stay focused. That's exactly how the Proxy pattern works — controlling access between objects.
SQL vs. NoSQL: The 'Library vs. Warehouse' Mental Model
Why is MongoDB faster but Postgres safer? A mastery guide to Schema, ACID, and why JSONB might be the only NoSQL you need.
TCP vs. UDP: The 'Registered Mail' Mental Model
Why does video calling glitch but file downloads pause? A mastery guide to the 3-Way Handshake, Head-of-Line Blocking, and why UDP is winning (HTTP/3).
SP6 - Object Pool - Learn Design Pattern From Simple Things
Manufacturing planes is expensive, but raw parts are reused from a pool. That's the Object Pool pattern — reduce creation cost with smart reuse.
SP5 - Facade - Learn Design Pattern From Simple Things
Many departments, one entrance. The Facade pattern simplifies complex systems by exposing only what you need. Learn it from simple everyday things.
SP4 - Mixer - Learn Design Pattern From Simple Things
You are a dog farm owner who manages the properties of all dog breeds. The number of crossbred dogs is increasing every day because of the emergence of new breeds!
BP10 - Mediator - Learn Design Pattern From Simple Things
Airport control towers don't let pilots talk directly — they route everything through a hub. That's the Mediator design pattern.
BP9 - File History - Learn Design Pattern From Simple Things
Undo and redo look simple on the surface, but how do they work internally? Learn the Memento pattern from simple editing software.