内置共识能力 / Consensus, built in
运行多个相互独立的 Raft 组,获得强一致性、Leader 选举、快照与成员变更保障。 / Run multiple independent Raft groups with strong consistency, leader election, snapshots, and membership safeguards.
一个框架整合 Multi-Raft 编排、分片路由、客户端 SDK 与运维能力,让你专注业务服务,而非重复搭建基础设施。 / One framework for multi-Raft orchestration, shard routing, client SDKs, and operations—so you can build the service, not the infrastructure.
共识、路由、客户端与运维共享同一套契约和集成测试。 / Consensus, routing, clients, and operations share the same contracts and integration tests.
运行多个相互独立的 Raft 组,获得强一致性、Leader 选举、快照与成员变更保障。 / Run multiple independent Raft groups with strong consistency, leader election, snapshots, and membership safeguards.
将分区路由到不同 Raft 组,横向提升吞吐量,避免副本成为系统瓶颈。 / Route partitions across Raft groups and grow throughput horizontally without turning replicas into a bottleneck.
内置客户端重试、Prometheus 指标、结构化追踪、TLS、管理工具与部署模板。 / Ship with client retries, Prometheus metrics, structured tracing, TLS, admin tooling, and deployment templates.
将框架嵌入你的二进制程序,通过明确的 Service 与 StateMachine trait 接入业务逻辑。 / Embed the framework in your binary and connect business logic through explicit Service and StateMachine traits.
无需再手工拼装共识、网络、路由与运维能力。Rr 为每个关注点提供清晰边界和经过验证的集成路径。 / Stop stitching consensus, networking, routing, and operations together by hand. Rr gives each concern a clear boundary and a tested integration path.
查看 C4 架构 / View the C4 architecture定义业务命令与状态转换 / Define business commands and state transitions
Service / StateMachine发现分片,将请求送往正确的 Leader / Discover shards and direct requests to the right leader
rr-client · rr-router复制日志、提交条目并持久化状态 / Replicate logs, commit entries, and persist state
rr-raft · rr-storage连接节点,并观测和管理整个集群 / Connect nodes, then observe and manage the cluster
rr-network · rr-admin