Tagged articles
38 articles
Page 1 of 1
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 SystemsPaxosalgorithm
0 likes · 9 min read
How Paxos Guarantees Strong Consistency in Distributed Systems
Programmer DD
Programmer DD
Oct 30, 2024 · Fundamentals

How Raft Elects a Leader and Replicates Logs: Step-by-Step Walkthrough

This article explains the Raft consensus algorithm's leader election, log replication, and log alignment processes using a three‑node cluster example, detailing heartbeat timeouts, RequestVote handling, AppendEntries messaging, and the iterative steps required to keep followers consistent with the leader.

Log ReplicationRaftalgorithm
0 likes · 9 min read
How Raft Elects a Leader and Replicates Logs: Step-by-Step Walkthrough
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.

CClickHouseRaftKeeper
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.

JRaftNacosRaft
0 likes · 23 min read
Demystifying Raft: How Nacos Uses JRaft for Strong Consistency
Volcano Engine Developer Services
Volcano Engine Developer Services
Dec 27, 2023 · Cloud Native

How ByConity Achieves Leader Election with Shared Storage and CAS

This article explains how ByConity uses a high‑availability shared KV store and CAS operations to implement a lightweight, fault‑tolerant leader election mechanism that eliminates the need for external services like Zookeeper, simplifies node management, and ensures safe leader transitions in a cloud‑native data warehouse.

ByConityCloud Nativedistributed consensus
0 likes · 21 min read
How ByConity Achieves Leader Election with Shared Storage and CAS
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
MaGe Linux Operations
MaGe Linux Operations
Jun 10, 2022 · Fundamentals

Demystifying Paxos: How Distributed Systems Achieve Consensus

This article explains the Paxos consensus algorithm—its origins, core concepts, roles of proposers, acceptors and learners, safety and liveness constraints, the two-phase protocol, proposal generation, and practical variations—showing why Paxos remains a foundational solution for fault‑tolerant distributed systems.

Consensus AlgorithmDistributed SystemsPaxos
0 likes · 16 min read
Demystifying Paxos: How Distributed Systems Achieve Consensus
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 ReplicationRaft
0 likes · 42 min read
Understanding and Implementing the Raft Consensus Algorithm in Go
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 1, 2021 · Fundamentals

Mastering Distributed Consensus: Inside Raft and the SOFAJRaft Library

This article explains the fundamentals of distributed consensus algorithms, compares Paxos, Zab, and Raft, dives deep into Raft's leader election, log replication, and commit mechanics, and showcases the Java‑based SOFAJRaft library with its architecture, linearizable read optimizations, and real‑world use cases.

Log ReplicationRaftSOFAJRaft
0 likes · 19 min read
Mastering Distributed Consensus: Inside Raft and the SOFAJRaft Library
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.

Log ReplicationRaftdistributed consensus
0 likes · 19 min read
An Overview of the Raft Distributed Consensus Algorithm
Ops Development Stories
Ops Development Stories
Apr 5, 2021 · Fundamentals

Understanding ZAB: How ZooKeeper Guarantees Strong Consistency

This article explains the ZAB (ZooKeeper Atomic Broadcast) protocol, detailing its atomic broadcast mechanism, two‑phase commit style messaging, transaction IDs (ZXID), leader‑follower coordination, crash recovery principles, data synchronization, and the underlying ZXID design with illustrative code snippets.

ZABatomic broadcastcrash recovery
0 likes · 11 min read
Understanding ZAB: How ZooKeeper Guarantees Strong Consistency
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 27, 2020 · Fundamentals

Understanding EPaxos: The Leaderless Consensus Algorithm Explained

This article introduces EPaxos, a leaderless distributed consensus algorithm, explains its motivation from Paxos and Multi‑Paxos, describes its core concepts such as instance spaces, dependencies, and deterministic reordering, and discusses implementation challenges and practical considerations for engineers familiar with Paxos or Raft.

EPaxosRaftdistributed consensus
0 likes · 10 min read
Understanding EPaxos: The Leaderless Consensus Algorithm Explained
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 24, 2020 · Fundamentals

Why Raft Beats Paxos and EPaxos: A Deep Dive into Distributed Consensus

This article explores the evolution of distributed consensus—from Paxos to Multi‑Paxos, Raft, and EPaxos—examining their mechanisms, understandability, efficiency, availability, and suitable scenarios, while providing comparative analysis and thought‑provoking questions for practitioners in modern cloud systems.

EPaxosPaxosRaft
0 likes · 14 min read
Why Raft Beats Paxos and EPaxos: A Deep Dive into Distributed Consensus
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.

Multi-PaxosPaxosdistributed consensus
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
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.

JavaMulti-PaxosPaxos
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.

GoRaftState Machine Replication
0 likes · 11 min read
Introduction to Raft: A Comprehensive Overview of the Distributed Consensus Algorithm
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jun 5, 2019 · Fundamentals

Understanding Paxos: A Beginner’s 30‑Minute Guide with Real‑World Analogy

This article explains the Paxos consensus algorithm in plain terms, using a relatable travel‑planning analogy to illustrate how proposers, acceptors, and majority voting achieve fault‑tolerant agreement in distributed systems, and connects the concept to real‑world implementations like Google’s Chubby and ZooKeeper.

Distributed SystemsPaxosalgorithm
0 likes · 13 min read
Understanding Paxos: A Beginner’s 30‑Minute Guide with Real‑World Analogy
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
Programmer DD
Programmer DD
Oct 30, 2018 · Fundamentals

What Is Paxos? A Storytelling Guide to Distributed Consensus

This article uses a vivid allegorical story to introduce the Paxos algorithm, then explains its roles, two-phase protocol, fault assumptions, and why majority and multiple acceptors are essential for achieving reliable consensus in distributed systems.

Distributed SystemsPaxosalgorithm
0 likes · 10 min read
What Is Paxos? A Storytelling Guide to Distributed Consensus
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 3, 2017 · Fundamentals

How X‑Paxos Transforms Distributed Consensus for High‑Performance Databases

X‑Paxos is Alibaba’s high‑performance, independently designed Paxos library that extends the classic consensus algorithm with multi‑threaded architecture, pluggable logging, adaptive batching and pipelining, and flexible node roles, delivering strong consistency, high availability, and low latency for global distributed databases and services.

AlibabaPaxosdistributed consensus
0 likes · 22 min read
How X‑Paxos Transforms Distributed Consensus for High‑Performance Databases
dbaplus Community
dbaplus Community
Jun 18, 2017 · Fundamentals

Demystifying Paxos: How Distributed Systems Achieve Consensus

This article explains why Paxos is needed for consistency in distributed systems, details its roles and three-phase protocol, illustrates the algorithm with a real‑world analogy, and shows how Paxos underpins high‑availability database replication such as MySQL binlog synchronization.

Database ReplicationPaxosdistributed consensus
0 likes · 13 min read
Demystifying Paxos: How Distributed Systems Achieve Consensus
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.

PaxosStorage Systemsdistributed consensus
0 likes · 11 min read
Paxos Algorithm Overview and the Two‑Phase Paxos Member‑Group Change Method
WeChat Backend Team
WeChat Backend Team
Oct 27, 2016 · Fundamentals

Understanding Basic Paxos Through the Three-Generals Problem Analogy

By adapting the classic Two Generals problem into a Three-Armies scenario, this article demystifies the Basic Paxos algorithm, illustrating its prepare/commit phases, proposal handling, and consensus challenges with detailed step-by-step examples and insights into its practical implications for distributed systems.

Paxosalgorithmdistributed consensus
0 likes · 14 min read
Understanding Basic Paxos Through the Three-Generals Problem Analogy
WeChat Backend Team
WeChat Backend Team
Oct 26, 2016 · Fundamentals

Why Fixed Membership Is Crucial for Paxos and How to Handle Dynamic Changes

The article explains that Paxos relies on a fixed set of voters (the majority) for consistency, shows why configuration‑driven member changes break the protocol, and introduces a simple dynamic membership algorithm that uses delayed activation windows to achieve atomic member updates without violating Paxos guarantees.

ConsistencyPaxosalgorithm
0 likes · 8 min read
Why Fixed Membership Is Crucial for Paxos and How to Handle Dynamic Changes
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 14, 2016 · Fundamentals

Understanding Paxos: How Distributed Systems Reach Consensus

This article provides a vivid explanation of the Paxos algorithm, illustrating how it achieves reliable consensus among unreliable processors through a two‑phase prepare/promise and propose/accept process, using distributed auction analogies, message sequencing, and read/write operations to ensure consistency in distributed systems.

Read/Writealgorithmdistributed consensus
0 likes · 15 min read
Understanding Paxos: How Distributed Systems Reach Consensus
WeChat Backend Team
WeChat Backend Team
Jun 22, 2016 · Fundamentals

How PhxPaxos Turns Paxos Theory into a Production‑Grade Consensus Library

This article provides a beginner-friendly, engineering-focused overview of the production‑grade Paxos library PhxPaxos, explaining the consensus protocol, its roles, instance management, state‑machine integration, performance optimizations, multi‑group deployment, and practical considerations such as disk durability, leader election, and log checkpointing.

Paxosdistributed consensusfault tolerance
0 likes · 30 min read
How PhxPaxos Turns Paxos Theory into a Production‑Grade Consensus Library