Skip to content

Commit

Permalink
update redis
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailclimb committed Jul 3, 2020
1 parent 8b204d0 commit fa935f8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/database/Redis/redis-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,12 @@ public Object getObjectInclNullById(Integer id) {

#### 有哪些解决办法?

Redis服务不可用:
**针对Redis服务不可用的情况:**

1. 采用Redis集群,避免单机出现问题整个缓存服务都没办法使用。
2. 限流,避免同时处理大量的请求。

热点缓存失效:
**针对热点缓存失效的情况:**

1. 设置不同的失效时间比如随机设置缓存的失效时间。
2. 缓存永不失效。
Expand Down
15 changes: 14 additions & 1 deletion docs/operating-system/basis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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













0 comments on commit fa935f8

Please sign in to comment.