java分布式事务框架_分布式事务框架(强一致性)

68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f353837336363316635653266343439373961613166363436393666656362343068747470733a2f2f746f6b65692e72732f62312f6769746875622f79753139393139352f7261696e6361743f63617465676f72793d6c696e657368747470733a2f2f696d672e736869656c64732e696f2f6372616e2f6c2f646576746f6f6c732e73766768747470733a2f2f696d672e736869656c64732e696f2f6d6176656e2d63656e7472616c2f762f6f72672e64726f6d6172612f7261696e6361742e7376673f6c6162656c3d6d6176656e25323063656e7472616c68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636861742d6f6e25323051512d6666363962342e7376673f7374796c653d666c61742d737175617265

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

68747470733a2f2f7374617263686172742e63632f79753139393139352f5261696e6361742e737667

Flow

0e666cbc842555ca61f637ad9efb7852.png

Support

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值