![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
文章平均质量分 74
edycm
这个作者很懒,什么都没留下…
展开
-
redis记录
文章目录简介数据类型事务持久化机制RDBAOFRedis快速的原因主从复制哨兵Sentinel集群过期键删除策略内存淘汰策略应用场景如何保证缓存与数据库双写时的数据一致性缓存问题缓存穿透缓存雪崩缓存击穿pipelineLUA脚本LUA脚本 参考:http://doc.redisfans.com/index.html 简介 Redis,Remote Dictionary Server,使用C语言编写的非关系型键值对存储数据库。 特性: 基于内存运行,性能高效 Redis是单线程的,避免线程切换开销及原创 2022-03-17 16:52:51 · 1399 阅读 · 0 评论 -
redis分布式锁
文章目录下载编译实现分布式锁 下载编译 github下载最新的:git clone https://github.com/redis/hiredis.git 也可下载历史稳定版本(当前v1.0.2):https://github.com/redis/hiredis/tags, wget https://github.com/redis/hiredis/archive/refs/tags/v1.0.2.tar.gz #解压并进入hiredis目录 $ mkdir build $ cd build $ cm原创 2022-03-17 16:39:38 · 744 阅读 · 0 评论