1 Star 0 Fork 1

shawn / redis-cluster-learn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
shawn 提交于 2022-02-14 23:04 . 添加说明

spring快速创建项目

整合jedis

参考github官网

https://github.com/redis/jedis

添加依赖到maven



<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>4.1.1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>

整合redission

参考地址

https://github.com/redisson/redisson https://github.com/redisson/redisson/wiki https://github.com/redisson/redisson/tree/master/redisson-spring-boot-starter

<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>3.16.8</version>
</dependency>

参考书籍

  • redis设计与实现
  • Redis深度历险:核心原理和应用实践

参考链接

jedis 操作 https://www.cnblogs.com/c-xiaohai/p/8376364.html

通过Redisson来了解 BitSet/Bloomfilter/HperLogLog https://www.hicode.club/articles/2020/10/08/1602146803423.html

分布式锁几种方案 https://juejin.cn/post/6936956908007850014

redis 分片 https://www.cnblogs.com/Jason-Xiang/p/5369069.html

功能

  • 集群搭建以及基本操作 ✅
  • pv统计 ✅
  • uv统计 ✅
  • 分布式锁 ✅
  • 布隆过滤器 ✅
  • id生成器 ✅
  • bitmap 用户签到以及大数据量分片操作 ✅
  • 好友功能(关注,粉丝,共同关注)🏗️
1
https://gitee.com/meetshawn/redis-cluster-learn.git
git@gitee.com:meetshawn/redis-cluster-learn.git
meetshawn
redis-cluster-learn
redis-cluster-learn
master

搜索帮助