{"adoption": {"forks": 1199, "observed_at": "2026-08-28T04:08:20.963000+00:00", "stars": 3817}, "canonical_url": "https://ross.abutalabs.com/products/sofa-jraft", "card": {"archived": false, "artifact_type": "library", "description": "A production-grade java implementation of RAFT consensus algorithm.", "domain": ["microservices", "databases", "developer-tools"], "enriched": true, "function": ["concurrency", "developer-tools", "sdk"], "health_score": 92, "homepage": "https://www.sofastack.tech/projects/sofa-jraft/", "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["sofastack/sofa-jraft"], "name": "sofastack/sofa-jraft", "platform": ["jvm", "windows", "cross-platform"], "pushed_at": "2026-06-16T09:42:56+00:00", "repo": "sofastack/sofa-jraft", "stars": 3817, "tags": ["raft", "consensus", "replication", "multi-raft", "jepsen-tested", "distributed-storage", "high-availability", "algorithms", "linux", "macos"], "topics": ["raft-algorithm", "raft-java", "raft", "sofastack", "sofa-jraft", "sofa-bolt", "distributed-consensus-algorithms", "java", "consensus"], "urls": [], "use_cases": ["build a replicated state machine in Java", "implement a fault-tolerant distributed key-value store", "add leader election and log replication to a distributed system", "achieve linearizable reads with ReadIndex or lease-based reads", "run multiple raft groups for high-throughput sharded storage", "verify cluster consistency under network partitions"], "what_it_is": "SOFAJRaft is a production-grade, high-performance Java implementation of the RAFT consensus algorithm, ported from Baidu's braft. It supports multi-raft-group deployment for high-load, low-latency scenarios and includes an embedded distributed KV storage implementation.", "when_to_avoid": ["you need a C++ or non-JVM RAFT implementation", "you only need a simple single-node storage solution without replication", "your project requires a language other than Java or JVM compatibility"], "when_to_choose": ["you need a battle-tested, Jepsen-verified RAFT implementation on the JVM", "you want snapshotting, log compaction, and membership changes out of the box", "you need multi-raft-group support for high-load, low-latency workloads", "you prefer a pure Java library with Maven Central availability"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sofa-jraft", "repo": "sofastack/sofa-jraft", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "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:08:20.963000+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:20.963000+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:26:32.076915+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8293b4125f123f897ec804895d25cd80d91846c51f85f0642f0c75afa415e430", "fetched_at": "2026-08-28T04:08:20.963000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sofastack/sofa-jraft"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T09:21:20.829936+00:00", "kind": "homepage", "missing": false, "url": "https://www.sofastack.tech/projects/sofa-jraft/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 87, "longevity": 100, "rhythm": 57}, "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": 2739, "days_push": 78, "days_rel": 79, "gap_med": 336, "n_releases_24m": 2}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}