# cache_test **Repository Path**: RemoteControl/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**: 5 - **Forks**: 3 - **Created**: 2019-11-18 - **Last Updated**: 2024-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cache_test #### Description 测试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/doc.html 6. 使用jmeter进行压力测试:doc/jmeter进行压测 “HTTP Request.jmx” #### Software Architecture 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) #### Installation 1. xxxx 2. xxxx 3. xxxx #### Instructions 1. xxxx 2. xxxx 3. xxxx #### Contribution 1. Fork the repository 2. Create Feat_xxx branch 3. Commit your code 4. Create Pull Request #### Gitee Feature 1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 2. Gitee blog [blog.gitee.com](https://blog.gitee.com) 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 4. The most valuable open source project [GVP](https://gitee.com/gvp) 5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)