Skip to content

Tag

#Performance

6posts

Tech12 min read

Python Concurrency: Understanding GIL, Threading, and Multiprocessing from First Principles

In-depth guide to Python Concurrency: Master the GIL, understand Threading vs Multiprocessing, optimize I/O vs CPU workloads, and backend architecture.

#Python#Concurrency#Backend
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
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
Tech5 min read

Database Indexing: The 'Library Card Catalog' Mental Model

Why does adding an index make a query 100x faster? A mastery guide to B-Trees, compound indexes, covering indexes, and the queries that kill your database.

#Database#SQL#Performance
Tech4 min read

I Built a Tool to Migrate 500+ Images to WebP in One Hour

My Lighthouse score was crying because of heavy images. So I wrote a Python ETL to bulk-convert everything to WebP and update all the URLs automatically. Here's how.

#Performance#Python#WebP
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