Migrated repository
Go to file
2021-03-20 13:37:42 +08:00
raincat-admin 2.0.1 2019-04-18 10:34:30 +08:00
raincat-annotation 2.0.1 2019-04-17 12:49:11 +08:00
raincat-common 2.0.1 2019-04-18 11:16:45 +08:00
raincat-core 2.0.1 2019-04-18 10:34:30 +08:00
raincat-dashboard 项目重构 2018-03-02 11:57:12 +08:00
raincat-dubbo 2.0.1 2019-04-17 12:49:11 +08:00
raincat-manager 解决极端情况下TxManager故障转移失败的问题 2019-05-05 14:30:18 +08:00
raincat-motan 2.0.1 2019-04-17 12:49:11 +08:00
raincat-sample install 2019-05-08 10:49:49 +08:00
raincat-spring-boot-starter 2.0.1 2019-04-19 10:07:17 +08:00
raincat-springcloud Bump tomcat-embed-core from 7.0.99 to 7.0.107 in /raincat-springcloud 2021-03-19 20:21:32 +00:00
script checkstyle rebuild 2018-06-09 11:43:53 +08:00
.gitignore Initial commit 2017-09-01 16:06:25 +08:00
.travis.yml jdk9 2019-10-11 11:34:34 +08:00
LICENSE 项目重构 2018-03-02 11:57:12 +08:00
pom.xml netty version 2019-10-22 16:54:55 +08:00
README.md jdk9 2019-10-11 11:34:34 +08:00

Raincat

Codacy Badge Total lines License Maven Central QQ群

A strongly consistent distributed transaction framework

Modules

  • raincat-admin: Transaction log management background

  • raincat-annotation : Framework common annotation

  • raincat-common : Framework common class

  • raincat-core : Framework core package (annotation processing, log storage...)

  • raincat-dashboard : Management background front-end

  • raincat-dubbo : Support for the dubbo framework Less than 2.7 version

  • raincat-motan : Support for the motan rpc framework

  • raincat-springcloud : Support for the spring cloud rpc framework

  • raincat-spring-boot-starter : Support for the spring boot starter

  • raincat-sample : Examples using the raincat framework

Features

  • All spring versions are supported and Seamless integration

  • Provides support for the springcloud dubbo motan RPC framework

  • Provides integration of the spring boot starter approach

  • Support Nested transaction

  • Local transaction storage support : redis mongodb zookeeper file mysql

  • Transaction log serialization support : java hessian kryo protostuff

  • Spi extension : Users can customize the storage of serialization and transaction logs

Transaction Role

  • Transaction starter : @TxTransaction for The entry point of the first section

  • Transaction participant : Rpc invoker in the method (Add @TxTransaction)

  • Transaction coordinator : Coordinate the rollback of commit transactions

Raincat-Manager

It is the coordinator of the transaction and USES netty communication framework to communicate with participants and initiators.

Use eureka as a registry to support cluster deployment.

Use redis to store transaction information.

It has to start early.

Prerequisite

  • You must use jdk1.8 +

  • You must be a user of the spring framework

  • You must use one of the dubbo, motan, and springcloud RPC frameworks

About

raincat is A strongly consistent distributed transaction framework.

Good concurrency support, blocking spring transaction thread commit.

When the execution of the slice is complete and there is no exception,

the submission command is sent asynchronously by the coordinator to achieve strong consistency.

If you want to use it or get a quick look at it. Quick Start

Stargazers

Stargazers over time

Flow

Support