# xiwen-baiqi
**Repository Path**: jingji_tong/xiwen-baiqi
## Basic Information
- **Project Name**: xiwen-baiqi
- **Description**: 注解式的方式-集成分布式锁组件
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2021-08-04
- **Last Updated**: 2021-08-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# xiwen-baiqi
#### 介绍
注解式的屏蔽过滤大量的并发请求,目前已支持 JVM ,单机Mysql , 单机的redis 三种组件的方式,用户只需要引入相应的配置,能做到无缝切入
#### 软件架构
软件架构说明
Microsoft Windows [版本 10.0.18363.1500
D:.
├─doc --mysql 脚本
└─src
├─main
│ ├─java
│ │ └─com
│ │ └─xiwen
│ │ └─baiqi
│ │ └─idempotent
│ │ ├─annotation --自定义注解
│ │ ├─aspect --切面
│ │ ├─common
│ │ │ ├─dto
│ │ │ ├─enums --枚举
│ │ │ └─util --工具包
│ │ ├─config
│ │ ├─exception
│ │ ├─jvm --jvm实现
│ │ ├─mysql --mysql实现
│ │ │ └─mapper
│ │ ├─redis --redis实现
│ │ ├─starter
│ │ ├─strategy
│ │ │ └─partern
│ │ └─zookeeper
│ └─resources
│ └─META-INF --启动加载初始类
└─test
└─java
#### 安装教程
1. 安装jdk
2. 安装mysql
3. 安装redis
#### 使用说明
1. 引入 pom 索引
com.xiwen.baiqi
xiwen-baiqi-idempotent
1.0-SNAPSHOT
com.xiwen.baiqi
xiwen-baiqi-monitor-starter
1.0-SNAPSHOT
2. 加入相关properties 目录
# 加入日志打印的开关
xw-idempoent.is-print=true
# 加入组件的开关 pre前缀为 xiwen 的时候实例才能会被注入进去
xw-idempoent.idempoent-name=xiwen
#锁的类型 jvm mysql redis 等
xw-idempoent.idempoent-type=mysql
3. 测试报告
设置的线程数 200 ;10个循环 20s 之内
redis 的测试报告

JVM 的测试报告

mysql的测试报告

#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
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/)