Tag
#Performance
9posts

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.
DuckDB Is Fast Because It Skips the Part Everyone Forgets
A deep dive into DuckDB internals: why an in-process SQL engine that skips the network beats clusters that cost millions, and what HN thinks about it.

Java Valhalla: Twelve Years to Delete One Assumption
Project Valhalla finally lands in JDK 28 as a preview. The story of how a decade of work boils down to one idea: let objects opt out of identity.

zerostack: the coding agent that runs on 8MB, not 8GB
A solo Rust developer shipped a full-featured coding agent with an 8MB RAM footprint. HN argues about whether that even matters.

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.

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.

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.

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.

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.