1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-08-01 16:28:03 +08:00

update redis

This commit is contained in:
shuang.kou 2020-07-03 14:10:17 +08:00
parent 8b204d0cc4
commit fa935f8cc5
2 changed files with 16 additions and 3 deletions

View File

@ -426,12 +426,12 @@ public Object getObjectInclNullById(Integer id) {
#### 有哪些解决办法?
Redis服务不可用
**针对Redis服务不可用的情况**
1. 采用Redis集群避免单机出现问题整个缓存服务都没办法使用。
2. 限流,避免同时处理大量的请求。
热点缓存失效:
**针对热点缓存失效的情况**
1. 设置不同的失效时间比如随机设置缓存的失效时间。
2. 缓存永不失效。

View File

@ -335,4 +335,17 @@
- <https://www.studytonight.com/operating-system>
- <https://www.geeksforgeeks.org/interprocess-communication-methods/>
- <https://juejin.im/post/59f8691b51882534af254317>
- 王道考研操作系统知识点整理: https://wizardforcel.gitbooks.io/wangdaokaoyan-os/content/13.html
- 王道考研操作系统知识点整理: https://wizardforcel.gitbooks.io/wangdaokaoyan-os/content/13.html