Git Product home page Git Product logo

tcc-demo-1's Introduction

Milo

介绍

史上最简单的分布式事务TCC解决方案

软件架构

milo采用java语言开发,是分布式事务TCC模式的落地解决方案,TCC模式下的分布式事务是所有分布式事务解决方案中实时性要求最高的,同时也是对业务开发成本要求最高的。所以TCC模式会在要求实时性较高的分布式事务场景中使用,例如订单支付这样的场景。

测试样例

输入图片说明

特性

  • 基于TCC模式实现的分布式事务框架。
  • 基于mysql存储事务日志。
  • 和springcloud微服务完美融合。
  • 具有事务处理异常自恢复能力。
  • 样例测试详细。
  • 事务日志采用kryo序列化存储

模块解析

  • milo-common:框架公共代码模块
  • milo-core:框架核心代码模块
  • milo-springcloud:框架整合springcloud模块
  • milo-spring-cloud-starter:框架支持springcloud starter模块
  • cloud-eureka:测试样例注册中心
  • cloud-order:测试样例订单服务
  • cloud-stock:测试样例库存服务
  • cloud-account:测试样例账户服务

使用条件

  1. 你必须使用jdk1.8及以上版本
  2. 你必须使用的是springcloud框架
  3. 你必须采用mysql存储事务日志

源码解析

CSDN博客:分布式事务 Milo源码解析

参与贡献

作者:luke 简介:深圳某IOT公司担任高级工程师。专注于Java、SpringBoot、SpringCloud、微服务、Docker、Kubernetes、分布式事务、多线程、DevOps等领域。 联系方式 QQ:347535420 电话:13247635446

tcc-demo-1's People

Contributors

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