Tag

distributed consensus

1 views collected around this technical thread.

Lobster Programming
Lobster Programming
Nov 28, 2024 · Fundamentals

How Paxos Guarantees Strong Consistency in Distributed Systems

This article explains the Paxos consensus algorithm, detailing its roles (proposer, acceptor, learner), the two-phase prepare and accept process, handling of proposal numbers, and how it ensures strong consistency across distributed nodes through examples and diagrams.

Distributed SystemsPaxosStrong Consistency
0 likes · 9 min read
How Paxos Guarantees Strong Consistency in Distributed Systems
DataFunTalk
DataFunTalk
Jul 11, 2024 · Backend Development

Performance Optimizations and Benchmark Analysis of RaftKeeper v2.1.0

The article presents a detailed engineering analysis of RaftKeeper v2.1.0, describing benchmark methodology, performance gains across create, mixed, and list workloads, and four major optimizations—including response serialization parallelism, list‑request handling, system‑call reduction, thread‑pool redesign, and asynchronous snapshot processing—demonstrating substantial throughput and latency improvements in large‑scale ClickHouse deployments.

C++ClickHouseRaftKeeper
0 likes · 12 min read
Performance Optimizations and Benchmark Analysis of RaftKeeper v2.1.0
Sanyou's Java Diary
Sanyou's Java Diary
Jan 23, 2024 · Fundamentals

Demystifying Raft: How Nacos Uses JRaft for Strong Consistency

This article explains the Raft consensus algorithm, its request lifecycle, leader election, snapshot mechanism, and JRaft optimizations such as linear reads, learners, and multi‑raft groups, illustrating how Nacos integrates these concepts to achieve reliable distributed consistency.

JRaftLeader ElectionNacos
0 likes · 23 min read
Demystifying Raft: How Nacos Uses JRaft for Strong Consistency
DataFunSummit
DataFunSummit
Jul 27, 2023 · Backend Development

Building a High‑Availability ClickHouse Cluster with RaftKeeper

This article explains how RaftKeeper leverages the Raft consensus algorithm to create a high‑availability, high‑performance ClickHouse cluster across multiple data centers, covering project background, architecture, core features, performance optimizations, and real‑world deployment results.

Backend DevelopmentClickHouseCross‑DataCenter
0 likes · 17 min read
Building a High‑Availability ClickHouse Cluster with RaftKeeper
Code Ape Tech Column
Code Ape Tech Column
Jun 4, 2022 · Fundamentals

Understanding the Paxos Consensus Algorithm: Principles, Roles, and Derivation

This article provides a comprehensive introduction to the Paxos consensus algorithm, explaining its purpose, core concepts, roles of proposers, acceptors and learners, safety and liveness properties, and the step‑by‑step derivation of its two‑phase protocol for achieving fault‑tolerant distributed consistency.

AcceptorPaxosProposer
0 likes · 17 min read
Understanding the Paxos Consensus Algorithm: Principles, Roles, and Derivation
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
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
Architecture Digest
Architecture Digest
Nov 26, 2020 · Fundamentals

Two-Phase Commit, Paxos, and Raft: Core Concepts and Workflows

This article explains the principles and workflows of Two‑Phase Commit, Paxos, and Raft, detailing their roles, phases, failure handling, and how they achieve distributed consensus in fault‑tolerant systems, including the coordinator‑participant model, proposal numbering, leader election, heartbeat mechanisms, and log replication processes.

AlgorithmsPaxosRaft
0 likes · 8 min read
Two-Phase Commit, Paxos, and Raft: Core Concepts and Workflows
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Jul 15, 2020 · Fundamentals

Mastering Paxos: A Step‑by‑Step Guide to Distributed Consensus

This article provides a comprehensive, step‑by‑step explanation of the Paxos consensus algorithm—including its basic principles, roles, prepare and accept phases, Multi‑Paxos extensions, leader election, and state‑machine integration—while offering practical insights for building reliable distributed systems.

Leader ElectionPaxosState Machine
0 likes · 23 min read
Mastering Paxos: A Step‑by‑Step Guide to Distributed Consensus
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 29, 2020 · Fundamentals

How the Byzantine Generals Problem Shapes Modern Distributed Consensus

This article explains the Byzantine Generals Problem, maps its concepts to distributed consensus, distinguishes consensus from consistency, outlines oral‑message and signed‑message solutions, and analyzes their applicability and limitations in fault‑tolerant distributed systems.

Byzantine Generalsconsensus algorithmsdistributed consensus
0 likes · 21 min read
How the Byzantine Generals Problem Shapes Modern Distributed Consensus
360 Tech Engineering
360 Tech Engineering
Apr 7, 2020 · Fundamentals

Implementing Raft in Go: Persistence, Optimizations, and Crash Scaling

This article, the fourth in a series on building a Raft consensus module in Go, explains how to add persistent state, improve command delivery semantics, optimize AppendEntries handling, and handle crash tolerance, while providing concrete Go code examples and practical testing tips.

GoPersistenceRaft
0 likes · 12 min read
Implementing Raft in Go: Persistence, Optimizations, and Crash Scaling
58 Tech
58 Tech
Apr 3, 2020 · Fundamentals

WPaxos: A Production‑Grade Java Implementation of Multi‑Paxos for Distributed Consensus

WPaxos is an open‑source Java implementation of the Multi‑Paxos distributed consensus algorithm that provides high performance, strong consistency, fault tolerance, and extensibility for data‑intensive systems, and includes detailed architecture, feature descriptions, performance benchmarks, and future development plans.

JavaPaxosdistributed consensus
0 likes · 13 min read
WPaxos: A Production‑Grade Java Implementation of Multi‑Paxos for Distributed Consensus
360 Tech Engineering
360 Tech Engineering
Mar 10, 2020 · Fundamentals

Introduction to Raft: A Comprehensive Overview of the Distributed Consensus Algorithm

This article provides a thorough introduction to the Raft consensus algorithm, explaining its purpose, core components such as state machine replication, log and consensus module, leader‑follower model, client interaction, fault‑tolerance considerations, the CAP trade‑off, and why Go is a suitable implementation language.

GoRaftdistributed consensus
0 likes · 11 min read
Introduction to Raft: A Comprehensive Overview of the Distributed Consensus Algorithm
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Mar 10, 2020 · Fundamentals

Understanding Raft: A Beginner’s Guide to Distributed Consensus in Go

This article introduces the Raft distributed consensus algorithm, explains its core concepts such as replicated state machines, leader‑follower roles, client interaction, fault tolerance, the CAP trade‑off, and why Go is a suitable language for implementing Raft.

Raftdistributed consensusfault tolerance
0 likes · 12 min read
Understanding Raft: A Beginner’s Guide to Distributed Consensus 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
Tencent Cloud Developer
Tencent Cloud Developer
May 7, 2019 · Databases

A New Era of Cluster Coordination in Elasticsearch 7.0

Elasticsearch 7.0 replaces Zen Discovery with an automatic, quorum‑based cluster‑coordination subsystem that elects master‑eligible nodes, simplifies bootstrapping via cluster.initial_master_nodes, supports safe rolling upgrades, and provides robust fault tolerance through a consensus protocol similar to Paxos or Raft.

7.0Cluster CoordinationElasticsearch
0 likes · 18 min read
A New Era of Cluster Coordination in Elasticsearch 7.0
Qunar Tech Salon
Qunar Tech Salon
May 1, 2017 · Fundamentals

Paxos Algorithm Overview and the Two‑Phase Paxos Member‑Group Change Method

This article introduces the Paxos consensus algorithm, explains its roles, safety and liveness constraints, describes the challenges of member‑group reconfiguration, and presents a proprietary two‑phase Paxos approach used by Baishan Cloud Storage to safely change cluster membership while maintaining service continuity.

Paxosdistributed consensusmember group reconfiguration
0 likes · 11 min read
Paxos Algorithm Overview and the Two‑Phase Paxos Member‑Group Change Method