Note
TIL — Redis SET NX as a poor-man's singleflight
A 4-line pattern for de-duplicating expensive computations across processes when you don't need a full distributed lock.
Articles across the playbook and case studies tagged caching.
A 4-line pattern for de-duplicating expensive computations across processes when you don't need a full distributed lock.
Cache layers, TTL vs invalidation, stampede protection, key hygiene, and the case for not caching at all.