Skip to content

System Design - All about Caching

Published: at 06:23 AM

Table of contents

Open Table of contents

Concept

Application server cache

Distributed cache

Global cache

Content distributed network (CDN)

Cache invalidation

With the 2 popular cache implementations are Redis and Memcached:

  1. Read heavy workload: use cache aside or read through strategies
  2. Consistency vs throughput: use write-through or write-back strategies
  3. Avoid caching one-off writes: use write-around strategy

Cache eviction policies

References

  1. Neo Kim Blog

Previous Post
LeetCode 23 LintCode 104 Merge K Sorted Lists
Next Post
LeetCode 21 LintCode 165 Merge Two Sorted Lists