先来看几道Redis面试题:
- redis为什么是key,value的,为什么不是支持SQL的?
- redis是多线程还是单线程?(回答单线程的请回吧,为什么请回,请往下看)
- redis的持久化开启了RDB和AOF下重启服务是如何加载的?(10个人9个回答错误)
- redis如果做集群该如何规划?AKF/CAP如何实现和设计?
- 10万用户一年365天的登录情况如何用redis存储,并快速检索任意时间窗内的活跃用户?
- redis的5种Value类型你用过几种,能举例吗?
- 100万并发4G数据,10万并发400G数据,如何设计Redis存储方式?
怎么样,这些问题你都能答出来吗?
想真正的精通Redis这个技术栈,是很难的!如果你对于解答上面的问题感到很困难,不妨来看看博主下面分享的这份Redis进阶笔记,这份笔记从原理,集群,应用,拓展,源码五个方面全方位剖析Redis,看完之后你就会知道,原来Redis还能这么玩!
不多bb,直接上内容
Redis高级笔记
目录总览
![](https://img-blog.csdnimg.cn/img_convert/84de2d7187bb711b3e153b53e8310853.webp?x-oss-process=image/format,png)
- 应用篇
![](https://img-blog.csdnimg.cn/img_convert/0e3df5d0a08028b8eddb94feba6d0ad8.webp?x-oss-process=image/format,png)
- 原理篇
![](https://img-blog.csdnimg.cn/img_convert/7ec2fee9dc2560f21c4360b0bfc2b149.webp?x-oss-process=image/format,png)
- 集群篇
![](https://img-blog.csdnimg.cn/img_convert/89c312159ac0ce1a63a5cc4783deb099.webp?x-oss-process=image/format,png)
- 拓展篇
![](https://img-blog.csdnimg.cn/img_convert/52afd425d7f7b801e1a43e1d8d3dfb29.webp?x-oss-process=image/format,png)
- 源码篇
![](https://img-blog.csdnimg.cn/img_convert/224927501a011da0d8b50b2c85266bb8.webp?x-oss-process=image/format,png)
限于文章篇幅原因,只能截图的形式展示部分内容
内容节选
Redis跳表
![](https://img-blog.csdnimg.cn/img_convert/f23b37508b708ba5e7ced4c3bf0cd74d.webp?x-oss-process=image/format,png)
布隆过滤器
![](https://img-blog.csdnimg.cn/img_convert/a61949a9e74e133b684743adfb86d3f8.webp?x-oss-process=image/format,png)
扩容
![](https://img-blog.csdnimg.cn/img_convert/5bca626cb5127619c07cab49de059b3c.webp?x-oss-process=image/format,png)
Info指令
![](https://img-blog.csdnimg.cn/img_convert/ac6ea5bbf16c5096448621794a459312.webp?x-oss-process=image/format,png)
Redis源码
![](https://img-blog.csdnimg.cn/img_convert/9a9ee1b58594fb86fb39f61d5f593b69.webp?x-oss-process=image/format,png)
限于文章篇幅原因,就展示到这里了,有需要的小伙伴 点