mhdip
WritingCasesProjectsAboutContact
WritingCasesProjectsAboutContact

Architecture Cases

Real problems. Real constraints. Real tradeoffs.
These document how I think about systems — not how I code them.

Performance & Caching

Defeating Cache Stampedes with Distributed Locking at UCBOne

Problem

When highly concurrent UI layout caches expired, thousands of requests bypassed the cache simultaneously, instantly overloading the PostgreSQL database.

Eliminated database saturation entirely by converting 5,000 concurrent database queries into exactly 1 database query and 4,999 memory reads using Redis SETNX.
ArchitectureRedisPerformanceDistributed Systems
Md. Mahmudul Hasan Dip
GitHubLinkedInRSS
© 2026