Skip to content

Tag

#Performance

9posts

Tech11 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
Tech8 min read

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.

#duckdb#databases#sql
Tech5 min read

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.

#java#jvm#performance
Tech5 min read

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.

#rust#coding-agent#developer-tools
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