Skip to content

Tag

#System Design

14posts

Tech5 min read

Caching & Redis: The 'Sticky Note' Mental Model

Why does Redis make everything faster? A mastery guide to cache invalidation (the hardest problem in CS), eviction strategies, and Redis data types.

#System Design#Redis#Performance#Python
Tech5 min read

CDN: The 'Local Convenience Store' Mental Model

Why does your image load instantly for users in the US but crawls in Vietnam? A mastery guide to CDN Edge Nodes, Cache-Control headers, and cache busting.

#System Design#Performance#Networking
Tech6 min read

Task Queues & Message Brokers: Celery, RabbitMQ, and Kafka Untangled

Why does sending an email block your API? A mastery guide to async task queues (Celery/Django-Q), message brokers (RabbitMQ), and event streaming (Kafka).

#System Design#Python#Celery#Kafka
Tech4 min read

Rate Limiting & Circuit Breaker: The 'Traffic Light & Fuse Box' Mental Model

How do you stop one bad client from taking down your entire API? A mastery guide to rate limiting strategies, circuit breakers, and resilience patterns.

#System Design#Resilience#API#Python
Tech3 min read

Why Cheap Hardware Won't Make Redis Replace a Core Database

As hardware gets cheaper, why not use Redis as the main database? The short answer: because the limitation isn't speed. It's guarantees and data semantics.

#System Design#Database#Redis#Architecture
Tech4 min read

REST vs. GraphQL vs. gRPC: The 'Restaurant Menu' Mental Model

Why does GraphQL exist if REST works fine? A mastery guide to API protocols, when to use each, and how gRPC changes the game for internal services.

#System Design#API#REST#GraphQL
Tech6 min read

API Certificates: The Mastery Guide to Debugging & The Chain of Trust

Stop guessing with SSLErrors. A mastery-level guide to the Chain of Trust, openssl debugging, and proving exactly whose fault it is.

#System Design#Security#API#Python
Tech5 min read

Authentication vs. Authorization vs. OAuth: The 'ID Card' Mental Model

Stop mixing up 401 and 403. A mastery guide to AuthN (Who you are), AuthZ (What you can do), and the OAuth Valet Key.

#System Design#Security#API
Tech4 min read

Consistent Hashing: The 'Locker Room' Mental Model

How does Cassandra know which server stores your data? Master consistent hashing, virtual nodes, and scaling distributed systems reliably.

#System Design#Distributed Systems#Hashing
Tech3 min read

Latency vs. Throughput: The 'Water Pipe' Mental Model

Why is your API slow even though your internet is fast? A mastery guide to P99 latency, bandwidth, and finding the bottleneck.

#System Design#Performance#Metrics
Tech5 min read

Load Balancer, Reverse Proxy, API Gateway: The Grand Hotel Mental Model

Confused by the 'Traffic Trio'? A mastery-level guide to Load Balancers, Reverse Proxies, and API Gateways — from mental models to Nginx configs.

#System Design#Networking#Infrastructure
Tech4 min read

Monolith vs. Microservices: The 'Mansion vs. Village' Mental Model

Is Microservices mostly hype? A mastery guide to the 'Distributed Monolith', Latency taxes, and knowing when to split.

#System Design#Architecture#Microservices
Tech6 min read

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
Tech4 min read

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
You found a tiny easter egg. Keep poking around!