2 Star 5 Fork 3

zhaojin / cache_test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.en.md 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
Jin 提交于 2024-03-13 21:09 . 测试环境调整

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. 测试截图:测试截图

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
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/
1
https://gitee.com/RemoteControl/cache_test.git
git@gitee.com:RemoteControl/cache_test.git
RemoteControl
cache_test
cache_test
master

搜索帮助