# rb-dynamic **Repository Path**: gujiachun/rb-dynamic ## Basic Information - **Project Name**: rb-dynamic - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-09-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rb-distributed-idempotent-lock # rb-distributed-idempotent-lock-starter #### 介绍 上面两个组件是实现了分布式锁,以及幂等的实现 #### 软件架构 原理是基于分布式锁,然后进行幂等记录的判断,默认支持redis,mysql存储 当然也可以让小伙伴们自行实现接口,完成幂等的业务判断 #### 使用说明 小伙伴们可以参考 rb-distributed-idempotent-lock-example 如果不需要mysql可以在引入rb-distributed-idempotent-lock-starter时,排除掉spring-boot-starter-jdbc com.rainbow.distributed rb-distributed-idempotent-lock-starter ${project.version} org.springframework.boot spring-boot-starter-jdbc 如果需要mysql,就不需要排除 此组件是建立在redis分布式锁的基础上实现并发安全的,所以必须要配置redis的相关配置项