Giter Site home page Giter Site logo

hmily's Introduction

金融级柔性分布式事务解决方案

https://dromara.org/

star github star



分布式事务解决方案全景图


功能

  • 高可靠性 :支持分布式场景下,事务异常回滚,超时异常恢复,防止事务悬挂

  • 易用性 :提供零侵入性式的 Spring-Boot, Spring-Namespace 快速与业务系统集成

  • 高性能 :去中心化设计,与业务系统完全融合,天然支持集群部署

  • 可观测性 :Metrics多项指标性能监控,以及admin管理后台UI展示

  • 多种RPC : 支持 Dubbo, SpringCloud,Motan, Sofa-rpc, brpc, tars 等知名RPC框架

  • 日志存储 : 支持 mysql, oracle, mongodb, redis, zookeeper 等方式

  • 复杂场景 : 支持RPC嵌套调用事务


必要前提

  • 必须使用 JDK8+

  • TCC模式必须要使用一款 RPC 框架, 比如 : Dubbo, SpringCloud,Montan


TCC模式

当使用TCC模式的时候,用户根据自身业务需求提供 try, confirm, cancel 等三个方法, 并且 confirm, cancel 方法由自身完成实现,框架只是负责来调用,来达到事务的一致性。


TAC模式

当用户使用TAC模式的时候,用户必须使用关系型数据库来进行业务操作,框架会自动生成回滚SQL, 当业务异常的时候,会执行回滚SQL来达到事务的一致性。


文档

如果你想使用,你可以参考Quick Start


关于Hmily

Hmily是柔性分布式事务解决方案,提供了TCCTAC 模式。

它以零侵入以及快速集成方式能够方便的被业务进行整合。

在性能上,日志存储异步(可选)以及使用异步执行的方式,不损耗业务方法方法。

之前是由我个人开发,目前由我在京东数科已经重新启动,未来将会是金融场景的分布式事务解决方案。


关注趋势

Stargazers over time


用户墙

支持

hmily's People

Contributors

abel533 avatar bbaiggey avatar cedar-gao avatar cherrylzhao avatar choviwu avatar codacy-badger avatar cysy-lli avatar dependabot[bot] avatar erichetti avatar god8816 avatar idefav avatar jilonghun avatar kissss avatar liuyueve avatar prfor avatar tuohai666 avatar tydhot avatar xqxyxchy avatar yu199195 avatar zwjzhangwanjie avatar

Watchers

 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.