Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 531 Bytes

System Design Paradigm Caching.md

File metadata and controls

12 lines (8 loc) · 531 Bytes

System Design Paradigm: Caching

Metadata

Highlights

  • The solution is a lease. The first cache miss will grant the app server a lease token. Only the app server having the token for a key can query DB and fill the cache. After a token is issued, all subsequent requests to the cache will be asked to retry after a period. The lease expires after a while to avoid deadlock