Tag

Log Replication

0 views collected around this technical thread.

JD Tech
JD Tech
Feb 2, 2023 · Fundamentals

Understanding the Byzantine Generals Problem and the Raft Consensus Algorithm

This article explains the Byzantine Generals problem, its fault‑tolerance limits, and how the Raft consensus algorithm solves a simplified version of the problem through leader election, log replication, and safety mechanisms, while also comparing Raft with Paxos, ZAB, and PBFT and providing Go code examples.

Byzantine GeneralsConsensus AlgorithmDistributed Systems
0 likes · 20 min read
Understanding the Byzantine Generals Problem and the Raft Consensus Algorithm
Code Ape Tech Column
Code Ape Tech Column
Aug 26, 2022 · Fundamentals

Understanding the Raft Consensus Algorithm: Roles, Elections, Log Replication, and Split‑Brain Scenarios

This article explains the Raft consensus algorithm in detail, covering its three node roles, leader election process, state‑machine log replication, handling of leader failures, multiple candidates, and split‑brain situations, providing clear diagrams and step‑by‑step descriptions for distributed system fundamentals.

Consensus AlgorithmDistributed SystemsLeader Election
0 likes · 16 min read
Understanding the Raft Consensus Algorithm: Roles, Elections, Log Replication, and Split‑Brain Scenarios
Tencent Cloud Developer
Tencent Cloud Developer
Oct 27, 2021 · Backend Development

Understanding and Implementing the Raft Consensus Algorithm in Go

This guide walks readers through building a complete Raft consensus system in Go, detailing leader election, log replication, state persistence, snapshotting, and committed‑entry application, while explaining key structures, RPCs, golden rules, and offering advice on using mature libraries versus custom implementations.

GoLog ReplicationPersistence
0 likes · 42 min read
Understanding and Implementing the Raft Consensus Algorithm in Go
Sohu Tech Products
Sohu Tech Products
Jun 30, 2021 · Fundamentals

Raft Log Replication: Format, Process, and Consistency Guarantees

This article explains the Raft consensus algorithm’s log format, the step‑by‑step log replication process, how leaders ensure consistency through forced overwrites, and details the AppendEntries RPC parameters, illustrated with diagrams and examples.

ConsensusDistributed SystemsLog Replication
0 likes · 11 min read
Raft Log Replication: Format, Process, and Consistency Guarantees
Tencent Cloud Developer
Tencent Cloud Developer
Jun 15, 2021 · Fundamentals

Understanding the Raft Consensus Algorithm: Principles, Workflow, and Comparison with Paxos

Raft is a leader-based consensus algorithm designed to be easier to understand and implement than Paxos, decomposing consensus into leader election, log replication, and safety rules; it ensures consistent, gap‑free logs, comparable performance, and simpler deployment for distributed systems.

Consensus AlgorithmDistributed SystemsLeader Election
0 likes · 16 min read
Understanding the Raft Consensus Algorithm: Principles, Workflow, and Comparison with Paxos
vivo Internet Technology
vivo Internet Technology
Apr 14, 2021 · Fundamentals

An Overview of the Raft Distributed Consensus Algorithm

Raft is a fault‑tolerant distributed consensus protocol that simplifies Paxos by electing a single leader each term to coordinate client requests, replicate logs to a majority of servers, ensure safety through up‑to‑date voting, handle failures with randomized timeouts, resolve log conflicts, and compress logs via snapshots.

Leader ElectionLog ReplicationRaft
0 likes · 19 min read
An Overview of the Raft Distributed Consensus Algorithm
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Sep 7, 2020 · Fundamentals

How Raft Guarantees Strong Consistency: Leader Election & Log Replication Explained

This article provides a comprehensive overview of the Raft consensus algorithm, detailing its strong‑leader model, node states, leader election process, log replication mechanics, consistency checks, and single‑node configuration changes, while illustrating each concept with diagrams and code examples.

Consensus AlgorithmDistributed SystemsLeader Election
0 likes · 25 min read
How Raft Guarantees Strong Consistency: Leader Election & Log Replication Explained
360 Tech Engineering
360 Tech Engineering
Mar 31, 2020 · Backend Development

Implementing Raft Command Handling and Log Replication in Go

This article explains how to extend a Go implementation of the Raft consensus algorithm to handle client commands, replicate logs across the cluster, manage commit pipelines, and ensure election safety, while providing detailed code examples and discussion of underlying concepts.

ConsensusDistributed SystemsGo
0 likes · 15 min read
Implementing Raft Command Handling and Log Replication in Go
Big Data Technology Architecture
Big Data Technology Architecture
Aug 6, 2019 · Fundamentals

Overview of Distributed Consistency Algorithms: The Raft Protocol

This article explains the fundamentals of distributed consistency by introducing the Raft consensus algorithm, covering its roles, leader election, log replication, handling of split votes, random timeouts, and various failure scenarios such as leader crashes and network partitions.

Failure HandlingLeader ElectionLog Replication
0 likes · 11 min read
Overview of Distributed Consistency Algorithms: The Raft Protocol
Big Data Technology Architecture
Big Data Technology Architecture
Jun 24, 2019 · Fundamentals

Understanding Distributed Consensus: Raft Leader Election and Log Replication

This article explains the fundamentals of distributed consistency, introduces key terminology, and provides an in‑depth look at Raft's leader election, term handling, log replication, failure scenarios, and comparisons with Paxos, ZAB, PacificA, and Viewstamped Replication.

Leader ElectionLog ReplicationRaft
0 likes · 16 min read
Understanding Distributed Consensus: Raft Leader Election and Log Replication