← All notes

#cache

5 notes

Cache

Caching is the process of storing frequently accessed data in a temporary storage location, in order in quickly retrieve it without the need to query the data o…

#system-design #cache

Cache invalidation

Cache invalidation removes or updates cached data when its source changes. It is needed when waiting for the TTL to expire would leave data stale for too long. …

#system-design #cache

Caching Type

cache can happen at several layers. Using multiple layers reduces latency and prevents every request from reaching the origin database or service. Stores dat…

#system-design #cache

CDN

Content Delivery Network (CDN) is a distributed proxy server that cache website static content closer to users. This routing visitor requests to the nearest edg…

#system-design #cache

Caching Strategies

There are several cache strategies: - Refresh Ahead - Write-Behind - Write-through - Cache Aside Example: Product catalog pages, trending news feeds, sessio…

#cache #system-design