- Notifications
You must be signed in to change notification settings - Fork1.4k
Distributed transaction solutions
License
dromara/hmily
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Financial-level flexible distributed transaction solution
English |简体中文
high reliability :supports abnormal transaction rollback in distributed scenarios, and abnormal recovery over time to prevent transaction suspension
usability :provide zero-invasive
Spring-Boot
,Spring-Namespace
to quickly integrate with business systemshigh performance :decentralized design, fully integrated with business systems, naturally supporting cluster deployment
observability :metrics performance monitoring of multiple indicators, and admin management background UI display
various RPC : support
Dubbo
,SpringCloud
,Motan
,Sofa-rpc
,brpc
,tars
and other well-known RPC frameworkslog storage : support
mysql
,oracle
,mongodb
,redis
,zookeeper
etc.complex scene : support RPC nested call transaction
must use
JDK8+
TCC mode must use a
RPC
framework, such as:Dubbo
,SpringCloud
,Montan
when using theTCC
mode, users provide three methods:try
,confirm
, andcancel
according to their business needs.And theconfirm
andcancel
methods are implemented by themselves, and the framework is only responsible for calling them to achieve transaction consistency。
When the user uses theTAC
mode, the user must use a relational database for business operations, and the framework will automatically generate arollback SQL
,When the business is abnormal, therollback SQL
will be executed to achieve transaction consistency。
If you want to use it, you can refer toQuick Start
Hmily is a flexible distributed transaction solution that providesTCC
andTAC
modes。
It can be easily integrated by business with zero intrusion and rapid integration。
In terms of performance, log storage is asynchronous (optional) and asynchronous execution is used, without loss of business methods。
It was previously developed by me personally. At present, I have restarted at JD Digital. The future will be a distributed transaction solution for financial scenarios.。
About
Distributed transaction solutions