Skip to content

Page 20

System Design7 min read

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#udp
Software Craft6 min read

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.

#design-patterns#structural-patterns
Software Craft3 min read

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.

#design-patterns#structural-patterns
Software Craft5 min read

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!

#design-patterns#structural-patterns
Software Craft5 min read

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.

#design-patterns#behavioral-patterns
Software Craft5 min read

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.

#design-patterns#behavioral-patterns
Software Craft6 min read

BP8 - Visitor - Learn Design Pattern From Simple Things

A doctor examines every patient without the patient changing. That's the Visitor pattern - add operations to objects without modifying them.

#design-patterns#behavioral-patterns
Software Craft6 min read

BP7 - Template Method - Learn Design Pattern From Simple Things

Every barista follows the same coffee recipe but can swap beans and milk. That's the Template Method pattern from simple everyday things.

#design-patterns#behavioral-patterns
Software Craft6 min read

BP6 - State - Learn Design Pattern From Simple Things

A traffic light cycles through red, yellow, green - each state has its own behavior. Learn the State design pattern from simple things.

#design-patterns#behavioral-patterns