From fa935f8cc554e70694fa9510e63cbaa7e5685c8b Mon Sep 17 00:00:00 2001 From: "shuang.kou" Date: Fri, 3 Jul 2020 14:10:17 +0800 Subject: [PATCH] update redis --- docs/database/Redis/redis-all.md | 4 ++-- docs/operating-system/basis.md | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/docs/database/Redis/redis-all.md b/docs/database/Redis/redis-all.md index ae1fc616..604ec25c 100644 --- a/docs/database/Redis/redis-all.md +++ b/docs/database/Redis/redis-all.md @@ -426,12 +426,12 @@ public Object getObjectInclNullById(Integer id) { #### 有哪些解决办法? -Redis服务不可用: +**针对Redis服务不可用的情况:** 1. 采用Redis集群,避免单机出现问题整个缓存服务都没办法使用。 2. 限流,避免同时处理大量的请求。 -热点缓存失效: +**针对热点缓存失效的情况:** 1. 设置不同的失效时间比如随机设置缓存的失效时间。 2. 缓存永不失效。 diff --git a/docs/operating-system/basis.md b/docs/operating-system/basis.md index 6f60890f..e905b81a 100644 --- a/docs/operating-system/basis.md +++ b/docs/operating-system/basis.md @@ -335,4 +335,17 @@ - - - -- 王道考研操作系统知识点整理: https://wizardforcel.gitbooks.io/wangdaokaoyan-os/content/13.html \ No newline at end of file +- 王道考研操作系统知识点整理: https://wizardforcel.gitbooks.io/wangdaokaoyan-os/content/13.html + + + + + + + + + + + + +