摘要:
一、 引入 maven 依赖 <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>4.2.0</version> </dependency> 二、 配置链接信息 #default 阅读全文
摘要:
为防止 缓存穿透的情况,我们有时候会引入 布隆过滤器来 增加一层防护, 具体demo如下 一、 搭建好 Redisson 环境, 详见 https://www.cnblogs.com/cgsdg/p/16225349.html 二、 创建 布隆过滤器, 并添加基础数据 import org.redi 阅读全文
摘要:
redisson 官网: https://redisson.org/ 一、引入 maven 包 <dependency> <groupId>org.redisson</groupId> <artifactId>redisson-spring-boot-starter</artifactId> <ve 阅读全文