# SpringBoot整合Redis **Repository Path**: justing833/spring-boot-integration-redis ## Basic Information - **Project Name**: SpringBoot整合Redis - **Description**: 基于springboot整合redis 实现增删改查 - **Primary Language**: Java - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: https://gitee.com/lianghuasheng77 - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2023-07-24 - **Last Updated**: 2023-07-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SpringBoot整合Redis #### 介绍 基于springboot整合redis 实现增删改查 #### 软件架构 springboot redis #### 使用说明 1. redis version 3.2 maven 3.6 postman 8.0 2、application.yml配置文件,配置redis地址,本地默认:127.0.0.1:6379 3、基于此redis实现分布式锁的功能已经实现,redis里面存的为商品编号以及过期时间,作为锁的入参条件 ,demo里面锁的超时时间设置的五秒;根据需要自设,判断锁超时——防止原来的异常操作,没有运行解锁操作,防止死锁; 4、通过jmeter模拟一秒1000的请求,实现效果跟预期相似; 5、因为此代码尝试锁的demo较多,然后此实现的代码提交为,如图所示,需要学习的小伙伴可以参考;谢谢!!! ![输入图片说明](%E5%9B%BE%E7%89%87.png) #### 参与贡献 1. @CopyRight liangjy 2021 #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)