awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
baidu avatar

baidu/braft

0
View on GitHub↗
4,216 स्टार्स·923 फोर्क्स·C++·Apache-2.0·9 व्यूज़

Braft

braft is an embeddable C++ library that implements the Raft consensus algorithm, providing a distributed consensus engine for building fault-tolerant, replicated state machines. At its core, it manages leader election, log replication, cluster membership changes, and state machine synchronization across a cluster of nodes, ensuring strong consistency and data durability even in the face of node failures.

The library distinguishes itself through a comprehensive set of mechanisms for reliable distributed coordination. It uses a randomized timeout-based leader election process with term management to ensure a single leader coordinates the cluster, and employs heartbeat-driven failure detection to trigger automatic leader failover when a node becomes unresponsive. Cluster membership changes are handled through a joint consensus protocol that prevents split-brain scenarios during dynamic node additions or removals, while quorum-based log replication guarantees that entries are committed only after reaching a majority of followers.

braft supports a replicated state machine model where each node applies the same sequence of committed log entries deterministically, ensuring identical state across the cluster. It includes snapshot-based log compaction to prevent unbounded log growth, and provides leader-routed service access for reading and writing to the replicated state machine. The library is designed for embedding directly into applications, handling automatic leader election, failover, and consistent log replication across cluster nodes.

Features

  • Embedded Consensus Libraries - Provides an embeddable Raft library that handles automatic leader election and failover within applications.
  • Quorum-Based Commit Protocols - Implements quorum-based decision making for strong consistency guarantees across network partitions.
  • Fault-Tolerant Coordinators - Manages quorum-based consensus, heartbeat failure detection, and automatic leader failover in multi-node clusters.
  • Joint Consensus Protocols - Implements a joint consensus protocol for safe dynamic addition and removal of cluster nodes.
  • Consensus Log Replication - Replicates log entries to a majority of followers before committing, guaranteeing consistency across failures.
  • Leader Election - Implements randomized timeout-based leader election with term management to ensure a single cluster leader.
  • Heartbeat Monitors - Uses periodic heartbeat messages from the leader to detect follower failures and trigger leader election.
  • Raft Consensus Implementations - An embeddable library implementing the Raft consensus algorithm for log replication and state machine synchronization.
  • Replicated State Machines - Applies the same sequence of committed log entries to a deterministic state machine on each node.
  • Snapshot-Based Compactions - Periodically snapshots the state machine and truncates the log to prevent unbounded log growth.
  • Leader-Routed Request Handlers - Routes all read and write requests through the cluster's elected leader node for consistent access.

स्टार हिस्ट्री

baidu/braft के लिए स्टार हिस्ट्री चार्टbaidu/braft के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

अक्सर पूछे जाने वाले प्रश्न

baidu/braft क्या करता है?

braft is an embeddable C++ library that implements the Raft consensus algorithm, providing a distributed consensus engine for building fault-tolerant, replicated state machines. At its core, it manages leader election, log replication, cluster membership changes, and state machine synchronization across a cluster of nodes, ensuring strong consistency and data durability even in the face of node failures.

baidu/braft की मुख्य विशेषताएं क्या हैं?

baidu/braft की मुख्य विशेषताएं हैं: Embedded Consensus Libraries, Quorum-Based Commit Protocols, Fault-Tolerant Coordinators, Joint Consensus Protocols, Consensus Log Replication, Leader Election, Heartbeat Monitors, Raft Consensus Implementations।

baidu/braft के कुछ ओपन-सोर्स विकल्प क्या हैं?

baidu/braft के ओपन-सोर्स विकल्पों में शामिल हैं: sofastack/sofa-jraft — sofa-jraft is a Java implementation of the Raft consensus algorithm. It serves as a distributed consensus engine and… wenweihu86/raft-java — Raft-java is a lightweight Java consensus library and replicated state machine engine designed to synchronize… goraft/raft — Raft is a Go library implementing the Raft consensus protocol for coordinating reliable state machine replication… maemual/raft-zh_cn — This project is a Chinese language translation of the original research paper detailing the Raft consensus protocol.… hashicorp/raft — This is a Raft consensus library and distributed consensus engine implemented in Go. It provides the primitives… canonical/dqlite — dqlite is a distributed SQL database that embeds a relational database engine to provide replicated storage across a…

Braft के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Braft के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • sofastack/sofa-jraftsofastack का अवतार

    sofastack/sofa-jraft

    3,806GitHub पर देखें↗

    sofa-jraft is a Java implementation of the Raft consensus algorithm. It serves as a distributed consensus engine and linearizable state machine designed to ensure high availability and data consistency across a cluster of nodes. The project provides a replicated key-value store and a coordination engine for managing distributed state. It distinguishes itself through support for multi-group consensus sharding to distribute traffic and a service provider interface that allows for custom log storage and entry encoding implementations. The system covers a wide range of distributed capabilities,

    Javaconsensusdistributed-consensus-algorithmsjava
    GitHub पर देखें↗3,806
  • wenweihu86/raft-javawenweihu86 का अवतार

    wenweihu86/raft-java

    1,228GitHub पर देखें↗

    Raft-java is a lightweight Java consensus library and replicated state machine engine designed to synchronize transaction logs and maintain fault-tolerant state across distributed server nodes. The framework relies on a leader-based replication model that routes write operations through a designated coordinator node, executing RPC-driven consensus protocols and automatic leader elections to maintain cluster agreement. The library supports dynamic cluster membership changes, allowing nodes to be added or removed during runtime without downtime through joint consensus configuration entries app

    Javadistributed-file-systemdistributed-storageraft
    GitHub पर देखें↗1,228
  • goraft/raftgoraft का अवतार

    goraft/raft

    2,435GitHub पर देखें↗

    Raft is a Go library implementing the Raft consensus protocol for coordinating reliable state machine replication across a cluster. It functions as a distributed systems library for building applications that require strongly consistent replicated state, keeping distributed nodes synchronized and fault-tolerant through automated node elections and log distribution. The library conducts periodic node elections using majority votes to designate a single data authority and prevent split-brain conflicts, while distributing deterministic command logs from leaders to follower nodes using a multi-ph

    Go
    GitHub पर देखें↗2,435
  • maemual/raft-zh_cnmaemual का अवतार

    maemual/raft-zh_cn

    6,287GitHub पर देखें↗

    This project is a Chinese language translation of the original research paper detailing the Raft consensus protocol. It serves as a technical research translation and a consensus protocol guide, making the specifications of the Raft algorithm accessible to Chinese speakers. The documentation covers the core mechanisms of distributed systems, including leader election, log replication, and safety protocols. It provides a detailed explanation of how to maintain a single source of truth across multiple servers to achieve fault-tolerant cluster management. The material addresses distributed stat

    chineseraft
    GitHub पर देखें↗6,287
Braft के सभी 30 विकल्प देखें→