Skip to content

Commit

Permalink
修正缓存击穿描述中的错别字
Browse files Browse the repository at this point in the history
- 将"不存在与缓存中"修正为"不存在于缓存中"
  • Loading branch information
26684 committed Jan 20, 2025
1 parent 5580b86 commit 24cf144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/database/redis/redis-questions-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ Bloom Filter 会使用一个较大的 bit 数组来保存所有的数据,数

#### 缓存雪崩和缓存击穿有什么区别?

缓存雪崩和缓存击穿比较像,但缓存雪崩导致的原因是缓存中的大量或者所有数据失效,缓存击穿导致的原因主要是某个热点数据不存在与缓存中(通常是因为缓存中的那份数据已经过期)。
缓存雪崩和缓存击穿比较像,但缓存雪崩导致的原因是缓存中的大量或者所有数据失效,缓存击穿导致的原因主要是某个热点数据不存在于缓存中(通常是因为缓存中的那份数据已经过期)。

### 如何保证缓存和数据库数据的一致性?

Expand Down

0 comments on commit 24cf144

Please sign in to comment.