Git Product home page Git Product logo

dtx's Introduction

dtx(distributed transactions)

本项目主要是想通过几个项目来简单测试Spring-Boot的分布式事务处理

  • dtx-simple 简单的单项目,使用传统的Service层处理事务
  • dtx-atomikos 单项目多数据库的分布式事务测试
  • dtx-bytejta 分布式事务测试,ByteJTA的实现(存在缺陷)
  • dtx-bytetcc 分布式事务测试,ByteTCC的实现
  • dtx-main 用来专门实验分布式事务的项目(测试使用)

ByteJTA的实现中,存在这些问题:

  1. 事务使用日志文件方式处理,在跨服务器的环境下应该存在问题
  2. 假设被调用服务需要进行回滚,如果被调用服务的事务开始时间晚于框架进行通知回滚(调用/org/bytesoft/bytejta/rollback/{xid})的时间(比如出现了延时),则无法正常进行回滚,而这个问题在ByteTCC的实现中不存在

dtx's People

Stargazers

 avatar  avatar

Watchers

LanBin 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.