RepositoryRust
DA

databendlabs/openraft

rust raft with improvements

2.1ksao
272fork
15issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

2
TINIX TRENDING·Chủ đề: consensus

#2 Repository của tuần

3
TINIX TRENDING·Chủ đề: raft

#3 Repository của tuần

2
TINIX TRENDING·Chủ đề: raft

#2 Repository của tuần

🦀 OpenRaft: Raft thế hệ mới bằng Rust

70.000 writes/giây đơn writer, 5,6 triệu writes/giây batch — đó là con số thực tế từ library consensus này.

OpenRaft là thư viện Rust hiện thực hóa giao thức Raft (consensus protocol) xây trên Tokio async runtime. Dự án xuất phát từ async-raft, fixes nhiều bug gốc, và hiện đóng vai trò consensus engine cho cụm meta-service của Databend — một hệ thống dữ liệu phân tán.

Mục tiêu của OpenRaft là trở thành protocol consensus thế hệ mới cho mọi loại hình lưu trữ phân tán: SQL, NoSQL, KV, Streaming, Graph, và cả những use-case "lạ" hơn.

✨ Điểm nổi bật

  • Hiệu năng cao: 70.000 writes/giây với single writer, 5.600.000 writes/giây khi batch writes.
  • Built on Tokio: tận dụng async runtime phổ biến nhất trong hệ sinh thái Rust.
  • Dùng thực tế: đang chạy production trong cụm meta-service của Databend.
  • Test coverage 92%: unit test bao phủ hầu hết codebase.
  • Vững vàng từ code gốc:derived từ async-raft nhưng fixes nhiều bug, đã cập nhật chi tiết trong derived-from-async-raft.md.
  • Hệ sinh thái phong phú: guide, docs, FAQ, DeepWiki architecture docs, nhiều example applications kèm theo.
  • Hỗ trợ nhiều use-case: SQL, NoSQL, KV, Streaming, Graph — consensus layer linh hoạt cho nhiều loại distributed storage.

💡 Vì sao đáng chú ý

Khu vực consensus library cho Rust còn khá ít sự lựa chọn chất lượng. OpenRaft nổi bật vì không chỉ là bản dịch từ nguyên bản Raft sang Rust — nó được thiết kế lại với các cải tiến, đã chạy production thực tế tại Databend, và đạt hiệu năng rất ấn tượng.

Tuy nhiên, đây vẫn là pre-1.0 (hiện tại alpha 0.10.x), API có thể thay đổi trước khi release stable. Nếu cần consensus engine production-ready ngay, hãy theo dõi changelog kỹ. Dù vậy, test coverage 92% và deployment thực tế cho thấy độ tin cậy đã ở mức khá tốt.


#Raft #Consensus #Rust #DistributedSystems #OpenRaft #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryGo
etcd-io/etcd

Distributed reliable key-value store for the most critical data of a distributed system

52.7k
Nov 24, 2026
RepositoryGo
rqlite/rqlite

The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort.

18.0k
Nov 30, 2026
RepositoryRust
tikv/tikv

Distributed transactional key-value database, originally created to complement TiDB

17.0k
Nov 25, 2026
RepositoryRust
async-raft/async-raft

An implementation of the Raft distributed consensus protocol using the Tokio framework.

1.1k
Feb 12, 2023
RepositoryRust
andreev-io/little-raft

The lightest distributed consensus library. Run your own replicated state machine! ❤️

451
Mar 31, 2025
RepositoryGo
tendermint/tendermint

⟁ Tendermint Core (BFT Consensus) in Go

5.9k
Nov 15, 2026
RepositoryJava
sofastack/sofa-jraft

A production-grade java implementation of RAFT consensus algorithm.

3.8k
Nov 20, 2026
RepositoryC++
FISCO-BCOS/FISCO-BCOS

FISCO BCOS(发音为/ˈfɪskl bi:ˈkɒz/)是一个稳定、高效、安全的许可区块链平台,已被广泛应用于现实的行业应用。截至目前,已拥有5000多家企事业单位,400多个产业数字化标杆应用,涵盖文化版权、司法服务、政府服务、物联网、金融、智慧社区、房地产建设、社区治理、乡村振兴等领域。FISCO BCOS (pronounced /ˈfɪskl bi:ˈkɒz/) is a stable, efficient, and secure permissioned blockchain platform that has been widely used in real-world industry applications.

2.6k
Nov 26, 2026
RepositoryJava
apache/ratis

Open source Java implementation for Raft consensus protocol.

1.5k
Nov 26, 2026