Giter Club home page Giter Club logo

dtx's Introduction

DTX

Distributed transaction manager. Implement database transaction control in microservice scenarios such as SpringCloud or Dubbo.

分布式事务管理器。用于SpringCloud或Dubbo之类的微服务框架场景下的数据库事务控制。

在微服务场景下使用。当事务提交时,并非真正提交数据库(假提交,JDBC Connection并不关闭或归还到连接池),而是等待顶级事务(简称:根事务)的提交或回滚通知。收到通知后所有子事务,统一提交或者回滚事务。从而达到微服务架构跨JVM场景下的数据库事务控制的目的。

当前版本实现了Dubbo、SpringCloud(使用RestTemplate和feign)的分布式事务控制,以及使用Redis消息队列作为事务通知的功能。 后续会拓展使用Zookeeper或者ActiveMQ等作为事务提交通知的实现。

dtx's People

Contributors

songlixiao avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.