# dromara/hmily

Distributed transaction solutions

Repository: https://github.com/dromara/hmily
Canonical: https://ross.abutalabs.com/products/hmily
Homepage: https://dromara.org
Language: Java
License: Apache-2.0
License Family: permissive
Topics: tcc, springcloud, dubbo, motan, spring, tansaction, tac, xa
Last push: 2024-07-14T04:16:31+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3261, "days_push": 780, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4165, forks 1395 (observed 2026-08-28T04:08:37.873388+00:00)

## What it is
Hmily is a financial-grade flexible distributed transaction framework for Java, supporting TCC, TAC, and XA transaction patterns. It integrates non-invasively with Spring Boot, Spring Cloud, Dubbo, Motan, and other RPC frameworks.

## Use cases
- ensure atomicity across microservices in Java
- implement TCC distributed transactions with Spring Cloud
- roll back distributed transactions on failure in Dubbo services
- prevent transaction suspension in financial systems
- add distributed transaction support to Spring Boot apps
- manage cross-service data consistency

## When to choose
- you need high-reliability distributed transactions in a Java/Spring microservices stack
- you use Dubbo, Motan, or Spring Cloud RPC and need TCC-style compensation
- financial-grade consistency and abnormal recovery matter

## When to avoid
- your application is a single monolith with one database - local transactions suffice
- you are not on the JVM
- you need a polyglot solution across non-Java services

## Facets
- artifact type: library
- maturity: active
- function: microservices, middleware, database, workflow-automation
- domain: microservices, backend, fintech
- platform: jvm
- tags: distributed-transactions, tcc, saga, xa, spring-boot, dubbo, spring-cloud, spring

## Member repositories
- dromara/hmily (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:37.873388+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:46.616347+00:00, confidence not recorded.
  - readme: https://github.com/dromara/hmily (fetched 2026-08-28T04:08:37.873388+00:00, sha 97989518b168)
  - homepage: https://dromara.org (fetched 2026-08-29T09:13:27.487767+00:00, sha e88b9e3207c1)
  - site_page: https://dromara.org/about (fetched 2026-08-29T09:13:27.490667+00:00, sha c600af794983)
  - site_page: https://dromara.org/zh/about (fetched 2026-08-29T09:13:27.492397+00:00, sha a59146dc5767)
- Data as of 2026-08-30T08:39:29.467469+00:00.
