Skip to content

Tag

#Performance

Backend 5 min read

The Caching Stack: From Browser to Buffer Pool

Five layers walked top to bottom — browser headers, CDN edge with its famous incident, Redis with a job description, database-adjacent options — plus the staleness grid that makes TTLs a product decision.

Realtime 5 min read

Scaling WebSockets Past One Box

Sockets are tenants, not confetti: the pub/sub backplane, stateless nodes and rolling drains, the reconnect stampede and its jittered cure, missed-message recovery by data shape, and the capacity cliffs to test first.

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.