What is the actually meaning of “Cache“ in System Design?

Tech In Pieces發表於2020-10-19

Cache is a k-v structured thing.
and it store results that can answer the query we may request later.

what kind of DB support cache?
Memcached: Not support 資料持久化(because it store in memory, that’s why it called Mem(ory)-cache)
Redis:support 資料持久化

一些常見的誤區:
cache可以存在任何地方 記憶體 硬碟 CPU…
cache不一定是指的伺服器的快取 前端後端客戶端瀏覽器都可能有cache

相關文章