Skip to content

Blog

Articles

Long-form, code-heavy writing on software engineering, AI/LLM, payments and system design.

Database 4 min read

Redis Caching Patterns That Survive Real Traffic

Cache-aside with the two mandatory upgrades — TTL jitter and stampede protection — plus version-stamped invalidation, the after-commit trap, and the three metrics that keep a cache honest.

Backend 4 min read

API Versioning Without the Regret

The ladder from additive changes to real versions: tolerance rules that make 90% of changes free, deprecated-field telemetry, Sunset headers, brown-outs, and the internal-API discount.

Architecture 4 min read

Clean Architecture Meets a Real Deadline

The one load-bearing idea under all the concentric circles, the interface-with-one-implementation tax, and the three-folder dose that keeps domains pure without nine-file one-line changes.