# cache_test **Repository Path**: wangshihaowangbing/cache_test ## Basic Information - **Project Name**: cache_test - **Description**: 测试spring-data-redis 缓存场景的 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2020-02-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cache_test #### 介绍 测试spring-data-redis_plus 缓存场景的 需要以下环境 1. mysql5.7+ 导入 1、创建数据库 cache_test 2、 doc中sql脚本导入 2. redis+redisearch 3. jdk1.8+maven3.5 4. cn.bblocks.cacheTest.CacheTestApplication 5. 接口地址:http://localhost:8089/cache-test/swagger-ui.html 6. 使用jmeter进行压力测试:doc/jmeter进行压测 “HTTP Request.jmx” #### 软件架构 springboot 2.2.2 + spring-data-redis-plus(2.2.0)+mysql5.7+redis4.0+redisearch+jpa ###本地测试结果 1. 场景182522用户 ,11211529用户银行卡 2. 模拟100个用户,执行10000次查询,在查询到记录后,1/300机会修改,1/300之机会添加,1/300机会删除卡 3. 测试环境AMD R5 3600 16G,win10旗舰版 4. 安装软件:mysql,win10子系统ubuntu,redis4.0+redisearch(ubuntu上),eclipse 运行项目 5. 测试截图:![测试截图](http://res.bblocks.cn/ceshi.png) #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)