{"adoption": {"forks": 2749, "observed_at": "2026-08-28T04:09:29.280066+00:00", "stars": 5759}, "canonical_url": "https://ross.abutalabs.com/products/tcc-transaction", "card": {"archived": false, "artifact_type": "framework", "description": "tcc-transaction是TCC型事务java实现", "domain": ["microservices", "backend", "databases", "fintech"], "enriched": true, "function": ["microservices", "middleware", "database", "workflow-automation"], "health_score": 28, "homepage": null, "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["changmingxie/tcc-transaction"], "name": "changmingxie/tcc-transaction", "platform": ["jvm", "cross-platform"], "pushed_at": "2025-01-24T07:50:02+00:00", "repo": "changmingxie/tcc-transaction", "stars": 5759, "tags": ["tcc", "distributed-transactions", "saga-alternative", "eventual-consistency", "spring-integration", "payment-systems"], "topics": [], "urls": [], "use_cases": ["ensure consistency when a payment refund spans multiple merchant accounts in different databases", "coordinate multi-service transactions in a microservices architecture", "implement try-confirm-cancel compensation logic across services", "roll back partial failures when one service call fails mid-workflow", "add distributed transaction support to a Java Spring microservices project"], "what_it_is": "tcc-transaction is a Java framework implementing TCC (Try-Confirm-Cancel) distributed transactions for microservice architectures. It coordinates multi-service, multi-database operations to achieve eventual consistency through resource reservation, confirmation, and cancellation phases with retry support.", "when_to_avoid": ["your services share a single database where local ACID transactions suffice", "you cannot make Confirm/Cancel operations idempotent", "you are not on the JVM or unwilling to add TCC boilerplate to business code", "you prefer simpler saga or message-driven eventual consistency patterns"], "when_to_choose": ["you need strong eventual consistency across multiple services and databases in a JVM microservices stack", "your business logic can naturally be split into resource reservation (Try), commit (Confirm), and rollback (Cancel) steps", "you are building payment, refund, or ledger-style flows requiring atomic multi-account operations"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tcc-transaction", "repo": "changmingxie/tcc-transaction", "role": "main", "score": 24}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.280066+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:53:15.267738+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "407f32a2c7c31d3047d12031dad90a5df62c9125ef6d1c38ba7efe1112a4da7b", "fetched_at": "2026-08-28T04:09:29.280066+00:00", "kind": "readme", "missing": false, "url": "https://github.com/changmingxie/tcc-transaction"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 3, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3924, "days_push": 586, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 24, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}