Skip to content

Page 9

Tech

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.

#System Design #Databases #Scaling #Edge
Tech

SP7 - Proxy - Learn Design Pattern From Simple Things

The boss wants the employees to focus on work and not get distracted by social media. So he decides to block some websites on the corporate network during working hours.

#Coding
Tech

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.

#System Design #Database #Postgres #MongoDB
Tech

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).

#Networking #TCP/IP #Protocols #HTTP/3
Tech

SP6 - Object Pool - Learn Design Pattern From Simple Things

Producing planes on a large scale is expensive, but fortunately the manufactured raw parts are always stored in the pool, thereby reducing duplication in the production process.

#Coding
Tech

SP5 - Facade - Learn Design Pattern From Simple Things

There are many departments in the building and you feel confused! By opening the entrances from the facade according to purposes, you simply follow the pre-arranged flow.

#Coding
Tech

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!

#Coding
Tech

BP10 - Mediator - Learn Design Pattern From Simple Things

In the discussion room without a teacher, you can speak or listen, but when you speak you need to make sure that everyone can hear. Therefore, a loudspeaker is a useful tool.

#Coding
Tech

BP9 - File History - Learn Design Pattern From Simple Things

Undo and redo are common features in editing software. They look simple on the surface, but how do they work internally? How do you design structure and behavior for them?

#Coding
You found a tiny easter egg. Keep poking around!