Skip to content

Tag

#System Design

14 posts

Tech

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
Tech

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
Tech

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
Tech

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
Tech

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
Tech

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
Tech

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
Tech

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
Tech

Consistent Hashing: The 'Locker Room' Mental Model

How does Cassandra know which server stores your data? A mastery guide to consistent hashing, virtual nodes, and why your cache doesn't invalidate when a server is added.

#System Design #Distributed Systems #Hashing
Tech

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
Tech

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
Tech

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

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!