Tagged articles
162 articles
Page 1 of 2
Code Wrench
Code Wrench
Jan 13, 2026 · Backend Development

Unlocking etcd: Deep Dive into Go’s Distributed Key‑Value Engine

This article offers a thorough source‑code walkthrough of etcd v3.5+, revealing how its Go‑based architecture implements the Raft consensus algorithm, MVCC storage with BoltDB, efficient network communication via rafthttp, and Go concurrency patterns, while providing practical operational insights for performance tuning and reliability.

BackendGoMVCC
0 likes · 12 min read
Unlocking etcd: Deep Dive into Go’s Distributed Key‑Value Engine
JD Cloud Developers
JD Cloud Developers
Dec 8, 2025 · Fundamentals

Why Raft Guarantees Linear Consistency in Unreliable Networks

This article explains how unreliable networks, clock instability, and node failures can cause data inconsistency in distributed clusters, introduces the Raft consensus algorithm, details its roles, election process, log replication, read/write handling, consistency models, and mechanisms to avoid split-brain and livelock.

ConsensusConsistencyDistributed Systems
0 likes · 13 min read
Why Raft Guarantees Linear Consistency in Unreliable Networks
DeWu Technology
DeWu Technology
Nov 26, 2025 · Databases

Inside Dragonboat’s LogDB: Unified Storage Architecture and Go Optimizations

This article provides a detailed walkthrough of Dragonboat's LogDB storage layer, covering its overall architecture, unified key‑value design, memory‑reuse mechanisms with IContext, the IKVStore abstraction, Pebble initialization, event‑driven busy detection, and the sharded DB implementation, all illustrated with code snippets and diagrams.

LogDBPebbleRaft
0 likes · 21 min read
Inside Dragonboat’s LogDB: Unified Storage Architecture and Go Optimizations
Raymond Ops
Raymond Ops
Sep 16, 2025 · Cloud Native

How to Build a Secure High‑Availability Etcd Cluster on Linux

This guide walks through installing etcd, configuring a three‑node high‑availability cluster with TLS certificates, setting up host files, disabling SELinux and firewalld, creating a Certificate Authority using cfssl, generating node certificates, distributing them, and finally deploying and verifying the cluster on Linux systems.

CertificateCloud NativeLinux
0 likes · 19 min read
How to Build a Secure High‑Availability Etcd Cluster on Linux
Tech Freedom Circle
Tech Freedom Circle
Aug 24, 2025 · Operations

How a Misconfigured Nacos Cluster Cost $170 Million: A Deep P0 Incident Postmortem

A leading financial platform suffered a six‑hour outage and $170 million loss when its Nacos service‑registry cluster entered a split‑brain state due to network partition, exposing flaws in AP‑mode deployment, monitoring gaps, and cascading failures that were later resolved through Raft migration, multi‑active architecture, and client‑side resilience.

Distributed SystemsMicroservicesNacos
0 likes · 32 min read
How a Misconfigured Nacos Cluster Cost $170 Million: A Deep P0 Incident Postmortem
Java Tech Enthusiast
Java Tech Enthusiast
May 23, 2025 · Databases

MySQL Indexes, ACID, Raft, and gRPC: Technical Interview Insights

This article combines a Meituan salary update with detailed explanations of MySQL indexing strategies, B‑tree variations, ACID transaction properties, isolation levels, caching, handling high‑traffic queries, the Raft consensus algorithm, and an overview of gRPC, providing comprehensive backend development knowledge for interview preparation.

ACIDBackendRaft
0 likes · 17 min read
MySQL Indexes, ACID, Raft, and gRPC: Technical Interview Insights
Ma Wei Says
Ma Wei Says
Mar 30, 2025 · Fundamentals

How Kafka 4.0’s KRaft Replaces ZooKeeper with Raft Consensus

Kafka 4.0 introduces KRaft, a ZooKeeper‑free metadata layer built on the Raft consensus algorithm, detailing role transitions, leader election, log replication, controller and broker responsibilities, and fault‑tolerance mechanisms, enabling a more scalable and self‑managed architecture for large‑scale distributed streaming.

Consensus AlgorithmDistributed SystemsKRaft
0 likes · 13 min read
How Kafka 4.0’s KRaft Replaces ZooKeeper with Raft Consensus
dbaplus Community
dbaplus Community
Dec 4, 2024 · Fundamentals

Mastering Raft: Building a Distributed KV Store in Elixir from Scratch

This article walks through the core concepts of the Raft consensus algorithm, explains why Elixir is a good fit, details the leader election and log‑replication mechanisms, and shows how to integrate a user state machine to create a fully functional distributed key‑value database with snapshots and recovery.

Consensus AlgorithmElixirKV Store
0 likes · 37 min read
Mastering Raft: Building a Distributed KV Store in Elixir from Scratch
Baidu Tech Salon
Baidu Tech Salon
Nov 22, 2024 · Artificial Intelligence

How GPU‑Accelerated ANN Search Cuts Costs and Boosts Throughput in High‑Volume Retrieval

This article analyzes a GPU‑based approximate nearest neighbor (ANN) retrieval solution built on NVIDIA's RAFT library, detailing algorithm selection, offline indexing tricks, batch online search design, performance results on a 25‑million‑vector workload, and cost‑saving implications for large‑scale search services.

ANNGPUIVF_INT8
0 likes · 21 min read
How GPU‑Accelerated ANN Search Cuts Costs and Boosts Throughput in High‑Volume Retrieval
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
Architect's Guide
Architect's Guide
Sep 29, 2024 · Databases

Advantages of NewSQL Databases Over Middleware‑Based Sharding: Architecture, Transactions, HA, and Scaling

This article objectively compares NewSQL distributed databases with traditional middleware‑based sharding, examining their architectural advantages, distributed transaction handling, high‑availability mechanisms, scaling and sharding strategies, storage engine differences, ecosystem maturity, and provides guidance on selecting the appropriate solution for various workloads.

Database ArchitectureNewSQLPaxos
0 likes · 21 min read
Advantages of NewSQL Databases Over Middleware‑Based Sharding: Architecture, Transactions, HA, and Scaling
Java Architecture Stack
Java Architecture Stack
Sep 26, 2024 · Backend Development

Deep Dive into SOFAJRaft: How Java Implements Multi‑Raft Consensus

This article examines the core implementation of SOFAJRaft, a high‑performance Java library based on the Raft consensus algorithm, covering node initialization, leader election, log replication, snapshot handling, fault recovery, and multi‑Raft‑Group support with detailed code examples.

ConsensusDistributed SystemsJava
0 likes · 13 min read
Deep Dive into SOFAJRaft: How Java Implements Multi‑Raft Consensus
G7 EasyFlow Tech Circle
G7 EasyFlow Tech Circle
Sep 24, 2024 · Databases

Why Modern Databases Prefer LSM Trees Over B‑Trees: Hardware, Workloads, and More

Modern databases have largely shifted from B‑tree based storage to LSM‑tree engines due to SSD hardware characteristics, high‑write workloads, concurrency advantages, simpler implementation, and evolving application demands, with additional insights into Paxos/Raft consensus, common database jargon, and performance optimizations.

Database JargonDatabase StorageLSM‑Tree
0 likes · 11 min read
Why Modern Databases Prefer LSM Trees Over B‑Trees: Hardware, Workloads, and More
FunTester
FunTester
Jul 1, 2024 · Cloud Native

Mastering etcd with Go: From Basics to Distributed Locks

This article introduces etcd as a reliable distributed key‑value store built on Raft, outlines its key features and common use cases such as service discovery and configuration management, and provides a complete Go tutorial covering dependency setup, server launch, client implementation, read/write testing, and distributed lock usage.

Configuration ManagementGoRaft
0 likes · 10 min read
Mastering etcd with Go: From Basics to Distributed Locks
DataFunTalk
DataFunTalk
May 23, 2024 · Big Data

Berserker Big Data Platform: Architecture, Development Practices, and Operational Enhancements

This article presents a comprehensive overview of the Berserker big‑data platform, detailing its overall design, data‑development components, key architectural challenges such as state management, release processes, two‑phase commit, RPC duplication, task routing, message handling, execution isolation, dependency model redesign, and outlines future work including stateless execution nodes, Kubernetes integration, and unified stream‑batch processing.

Big DataData PlatformDistributed Scheduling
0 likes · 15 min read
Berserker Big Data Platform: Architecture, Development Practices, and Operational Enhancements
Architecture & Thinking
Architecture & Thinking
May 21, 2024 · Fundamentals

Mastering Distributed Consistency: Paxos, Raft, and ZAB Explained

This article examines high‑concurrency distributed consistency algorithms—explaining the CAP challenges, detailing Paxos, Raft, and ZAB’s core concepts, roles, and workflow, and discussing their practical applications and selection criteria for ensuring strong data consistency in critical systems.

CAP theoremPaxosRaft
0 likes · 13 min read
Mastering Distributed Consistency: Paxos, Raft, and ZAB Explained
MaGe Linux Operations
MaGe Linux Operations
May 19, 2024 · Databases

How to Deploy Xenon: A Raft‑Based MySQL HA Solution with Semi‑Sync and Parallel Replication

This guide walks through deploying Xenon, an open‑source Raft‑based MySQL high‑availability solution, covering environment setup, installation of Go and Percona XtraBackup, configuring Xenon’s JSON, starting the cluster, monitoring status, and troubleshooting backup failures caused by misconfigured host settings.

BackupDatabase ReplicationGo
0 likes · 8 min read
How to Deploy Xenon: A Raft‑Based MySQL HA Solution with Semi‑Sync and Parallel Replication
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Apr 17, 2024 · Backend Development

In-Depth Analysis of Apache RocketMQ Architecture, Operation Principles, and High‑Throughput Mechanisms

This article provides a comprehensive overview of Apache RocketMQ, detailing its core components, producer and consumer workflows, storage strategies, master‑slave synchronization, Raft‑based half‑write and leader election mechanisms, and best‑practice recommendations for high‑throughput, fault‑tolerant messaging systems.

Backend DevelopmentDistributed SystemsHigh Throughput
0 likes · 22 min read
In-Depth Analysis of Apache RocketMQ Architecture, Operation Principles, and High‑Throughput Mechanisms
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 17, 2024 · Fundamentals

Implementing Log Snapshotting in Raft: A Step‑by‑Step Guide

This article provides a comprehensive tutorial on adding log snapshotting (snapshotting) to a Raft‑based distributed key‑value store, explaining the motivation, the snapshot mechanism, and detailed Go code for generating, transferring, applying, and persisting snapshots to reduce log size and improve performance.

ConsensusDistributed SystemsGo
0 likes · 15 min read
Implementing Log Snapshotting in Raft: A Step‑by‑Step Guide
Linux Code Review Hub
Linux Code Review Hub
Mar 8, 2024 · Backend Development

Inside Xline Membership Change: A Source Code Walkthrough

This article examines how Xline performs safe cluster membership changes, comparing Joint Consensus and single‑step approaches, and provides a detailed source‑code walkthrough of leader and follower handling, configuration commits, node addition, removal, and the integration with the Curp protocol.

ConsensusCurpMembership Change
0 likes · 19 min read
Inside Xline Membership Change: A Source Code Walkthrough
21CTO
21CTO
Mar 1, 2024 · Databases

Why Oracle 23c’s Global Distributed Database Is a Game-Changer for Multi‑Region Data

The article examines Oracle’s evolution from RAC‑based sharding to the 23c Global Distributed Database, highlighting its RAFT replication, cross‑region capabilities, compliance benefits, and performance advantages that position it as a true multi‑cloud, multi‑location solution for modern OLTP workloads.

OracleRaftdata localization
0 likes · 7 min read
Why Oracle 23c’s Global Distributed Database Is a Game-Changer for Multi‑Region Data
IT Services Circle
IT Services Circle
Feb 8, 2024 · Databases

TiDB Overview: Architecture, Core Features, and Performance Compared with MySQL

The article explains why traditional MySQL sharding is discouraged, introduces the distributed database TiDB, details its architecture, core capabilities such as HTAP and Raft‑based consistency, compares feature support and resource usage with MySQL, and presents benchmark results demonstrating TiDB’s advantages at large scale.

HTAPMySQL ComparisonRaft
0 likes · 12 min read
TiDB Overview: Architecture, Core Features, and Performance Compared with MySQL
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
DataFunSummit
DataFunSummit
Nov 2, 2023 · Databases

Understanding TiKV: Features, Architecture, and Large‑Scale Operational Challenges

This article introduces the distributed transactional KV store TiKV, explains its role as TiDB’s storage engine, details its multi‑layered architecture and Raft‑based consistency model, and discusses the performance and resource challenges encountered at massive data scales along with the engineering solutions implemented to address them.

Performance OptimizationRaftTiKV
0 likes · 14 min read
Understanding TiKV: Features, Architecture, and Large‑Scale Operational Challenges
DataFunSummit
DataFunSummit
Sep 10, 2023 · Cloud Native

An Overview of Curve: High‑Performance Cloud‑Native Distributed Storage System

Curve is a high‑performance, easy‑to‑operate, cloud‑native open‑source distributed storage system (CNCF Sandbox) that provides block and file storage for OpenStack, Kubernetes, and PolarFS, featuring Raft‑based consistency, hybrid storage, high availability, and an ongoing roadmap for AI and other workloads.

Cloud NativeCurveKubernetes
0 likes · 16 min read
An Overview of Curve: High‑Performance Cloud‑Native Distributed Storage System
ITPUB
ITPUB
Jul 1, 2023 · Fundamentals

Mastering Distributed Systems: CAP, BASE, Locks, Transactions, Paxos & Raft Explained

This article provides a comprehensive overview of core distributed‑system concepts—including the CAP theorem, BASE model, common distributed‑lock implementations, multiple distributed‑transaction patterns such as 2PC, 3PC, TCC, local‑message tables, MQ transactions and Seata, as well as consistency algorithms like Paxos and Raft, idempotency techniques, and rate‑limiting algorithms—explaining their motivations, trade‑offs, and practical usage.

BASECAP theoremIdempotency
0 likes · 30 min read
Mastering Distributed Systems: CAP, BASE, Locks, Transactions, Paxos & Raft Explained
Alibaba Cloud Native
Alibaba Cloud Native
Jun 26, 2023 · Cloud Native

How RocketMQ Evolved Its High‑Availability Architecture for Cloud‑Native Deployments

This article examines RocketMQ's high‑availability evolution—from early master‑slave and Raft‑based designs to the v5 DLedger fusion model—detailing replica groups, data sharding, election mechanisms, replication strategies, metric trade‑offs, log‑divergence handling, controller roles, heartbeat optimizations, and comparisons with Kafka and Pulsar, all illustrated with diagrams and code snippets.

Cloud NativeDLedgerDistributed Systems
0 likes · 36 min read
How RocketMQ Evolved Its High‑Availability Architecture for Cloud‑Native Deployments
Top Architect
Top Architect
Jun 1, 2023 · Cloud Native

Nacos Cluster Deployment Guide and Raft Leader Election Mechanism

This article provides a step‑by‑step guide to deploying a Nacos cluster on Linux, covering environment preparation, installation, MySQL configuration, application.properties settings, and cluster.conf setup, startup commands, and explains the Raft‑based leader election and data synchronization mechanisms for reliable microservice registration.

ClusterDockerMicroservices
0 likes · 13 min read
Nacos Cluster Deployment Guide and Raft Leader Election Mechanism
Top Architect
Top Architect
May 31, 2023 · Cloud Native

Step-by-Step Guide to Deploying a Nacos Cluster on Linux and Understanding Its Raft Leader Election

This article provides a comprehensive tutorial on setting up a Nacos cluster on Linux, covering environment preparation, database configuration, application property tuning, cluster file creation, startup procedures, microservice integration, and an in‑depth explanation of the Raft‑based leader election and data synchronization mechanisms.

Cluster DeploymentLinuxMicroservices
0 likes · 15 min read
Step-by-Step Guide to Deploying a Nacos Cluster on Linux and Understanding Its Raft Leader Election
Meituan Technology Team
Meituan Technology Team
May 11, 2023 · Databases

Meituan Database High Availability System

Meituan’s high‑availability database system, built on a multi‑region Raft‑group architecture, addresses rapid instance growth and stringent availability by deploying three‑node HA cores, micro‑services, and MGR clusters with AZ‑ and region‑level disaster recovery, while employing multi‑channel fault detection, weighted election, and semi‑synchronous consistency mechanisms, and outlines future moves toward decentralized proxies and fully clustered designs.

HA deploymentRaftRipple
0 likes · 20 min read
Meituan Database High Availability System
dbaplus Community
dbaplus Community
May 10, 2023 · Backend Development

How Bilibili Scaled Its KV Store to Handle Billions of Requests

This article explains how Bilibili’s KV storage system evolved from early Redis/Memcache solutions to a custom distributed KV architecture, detailing design goals, architecture components, shard management, Raft replication, multi‑active disaster recovery, and the operational challenges solved to support massive traffic growth.

BilibiliKV StoreRaft
0 likes · 14 min read
How Bilibili Scaled Its KV Store to Handle Billions of Requests
dbaplus Community
dbaplus Community
May 1, 2023 · Fundamentals

Master Distributed Systems: CAP, Locks, Transactions, Paxos & Raft

This comprehensive guide explains the core concepts of distributed systems—including the CAP theorem, practical implementations of distributed locks, various distributed transaction patterns, consistency algorithms such as Paxos and Raft, idempotency techniques, and rate‑limiting strategies—providing clear examples, code snippets, and visual diagrams for each topic.

CAP theoremIdempotencyPaxos
0 likes · 27 min read
Master Distributed Systems: CAP, Locks, Transactions, Paxos & Raft
JD Cloud Developers
JD Cloud Developers
Feb 20, 2023 · Fundamentals

How Raft Tackles the Byzantine Generals Problem

This article explains the Byzantine Generals problem, its fault‑tolerant challenges in distributed systems, and how the Raft consensus algorithm addresses these issues by using leader election, log replication, and safety mechanisms, while also comparing Raft with other algorithms such as Paxos, ZAB and PBFT.

Byzantine Fault ToleranceConsensus AlgorithmRaft
0 likes · 17 min read
How Raft Tackles the Byzantine Generals Problem
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
Architect
Architect
Jan 18, 2023 · Databases

Design and Architecture of Bilibili's High‑Performance KV Storage System

This article presents the background, overall architecture, partitioning strategies, raft‑based replication, binlog support, multi‑active deployment, bulk‑load mechanisms, storage‑engine optimizations, load‑balancing policies, and failure‑detection & recovery techniques of a high‑reliability, high‑throughput key‑value store used at Bilibili.

Distributed SystemsKV storagePartitioning
0 likes · 22 min read
Design and Architecture of Bilibili's High‑Performance KV Storage System
Architecture Digest
Architecture Digest
Jan 15, 2023 · Backend Development

Debugging High CPU Usage in Nacos Config Client and Understanding Raft Network Partition

The article details a sudden CPU spike in a Java backend service using Nacos, walks through diagnosing the offending thread with top and jstack, analyzes Nacos client thread creation and scheduled gray‑config tasks, explains Raft network partition handling, and presents a fix that checks config health and avoids unnecessary thread creation.

CPUDebuggingJava
0 likes · 8 min read
Debugging High CPU Usage in Nacos Config Client and Understanding Raft Network Partition
Thoughts on Knowledge and Action
Thoughts on Knowledge and Action
Dec 10, 2022 · Fundamentals

How Raft Guarantees Consistent Log Replication and Leader Election

This article explains the Raft consensus algorithm, detailing how it breaks consistency into leader election, log replication, and safety, and describes the roles, term handling, election rules, log matching, snapshotting, and the RPC mechanisms that ensure a reliable distributed state machine.

Consensus AlgorithmDistributed SystemsLog Replication
0 likes · 12 min read
How Raft Guarantees Consistent Log Replication and Leader Election
ITPUB
ITPUB
Nov 25, 2022 · Big Data

How Berserker’s Big Data Platform Solved Scheduling, State and Scaling Challenges

This article details the architecture, evolution, and technical solutions of the Berserker big‑data platform—including component design, state‑management problems, release strategies, two‑phase commit, RPC handling, routing, message queuing, containerized execution, dependency model redesign, and future roadmap—demonstrating how the system achieved high availability, low latency, and scalable operations.

Data PlatformDockerKubernetes
0 likes · 19 min read
How Berserker’s Big Data Platform Solved Scheduling, State and Scaling Challenges
Zuoyebang Tech Team
Zuoyebang Tech Team
Nov 25, 2022 · Databases

Cut Storage Costs 400%: Inside BitalosDB’s High‑Performance KV Engine

An in‑depth look at BitalosDB, the home‑grown NoSQL storage engine behind Zuoyebang’s massive KV traffic, covering its novel IO architecture, KV‑separation design, Raft‑based consistency, multi‑cloud CRDT replication, and benchmark results that show up to 400% cost savings versus standard Redis.

CRDTDatabase PerformanceKV storage
0 likes · 11 min read
Cut Storage Costs 400%: Inside BitalosDB’s High‑Performance KV Engine
Bilibili Tech
Bilibili Tech
Nov 22, 2022 · Big Data

Overview of the Berserker Big Data Platform and Its Data Development Architecture

The Berserker big‑data platform provides a one‑stop data development and governance solution built on over 40 micro‑services, featuring the Archer scheduler with CN and EN nodes, Raft‑based state management, Docker‑isolated task execution, smart routing, and plans to make EN stateless, migrate to Kubernetes, and unify batch and streaming services.

ArcherBig DataDocker
0 likes · 17 min read
Overview of the Berserker Big Data Platform and Its Data Development Architecture
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 SystemsLog Replication
0 likes · 16 min read
Understanding the Raft Consensus Algorithm: Roles, Elections, Log Replication, and Split‑Brain Scenarios
Architecture Digest
Architecture Digest
Jul 27, 2022 · Databases

Comprehensive Guide to etcd: Overview, Architecture, Deployment, and Usage

This article provides a detailed introduction to etcd, covering its purpose as a highly‑available distributed key‑value store, core Raft‑based architecture, key concepts, common application scenarios, step‑by‑step installation and cluster deployment, as well as essential command‑line operations for managing data, backups, and cluster members.

BackupDeploymentKubernetes
0 likes · 26 min read
Comprehensive Guide to etcd: Overview, Architecture, Deployment, and Usage
IT Architects Alliance
IT Architects Alliance
Jul 25, 2022 · Backend Development

Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock

The article explains the principles, requirements, and common implementations of distributed lock services using Redis and ZooKeeper, analyzes their drawbacks, and introduces SharkLock's design choices—including lock metadata, reliability via SharkStore, dead‑lock prevention, safety mechanisms, and Raft‑based consistency—to guide developers in building robust distributed locking solutions.

ConsistencyRaftSharkLock
0 likes · 15 min read
Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock
Code Ape Tech Column
Code Ape Tech Column
Jul 8, 2022 · Backend Development

Deep Dive into Nacos Service Registration and Discovery Mechanisms

This article provides a detailed analysis of Nacos as a service registry, covering its architecture, registration and discovery processes, health‑checking, Raft‑based consistency, Spring Cloud integration, and practical code examples for developers building micro‑service systems.

JavaMicroservicesNacos
0 likes · 19 min read
Deep Dive into Nacos Service Registration and Discovery Mechanisms
DataFunTalk
DataFunTalk
Jul 3, 2022 · Databases

MatrixOne HTAP Technical Overview: Architecture, Storage Engine, and Implementation Paths

This article presents a comprehensive technical overview of MatrixOne's HTAP journey, detailing the challenges of hybrid transaction/analytical processing, classifying existing HTAP approaches, describing MatrixOne's storage architecture, AOE and TAE engines, and outlining future roadmap and performance considerations.

AOEColumnar StoreDatabase Architecture
0 likes · 19 min read
MatrixOne HTAP Technical Overview: Architecture, Storage Engine, and Implementation Paths
Tencent Cloud Developer
Tencent Cloud Developer
Apr 14, 2022 · Big Data

Understanding Kafka's Transition from ZooKeeper to KRaft: Architecture, Installation, Raft Algorithm, and Common Issues

The article explains how Kafka 3.x replaces ZooKeeper with the internal KRaft consensus layer, detailing the Raft‑based metadata storage, step‑by‑step KRaft cluster installation and configuration, and covering related concepts such as leader election, consumer‑group rebalancing, reliability settings, and performance optimizations.

InstallationKRaftKafka
0 likes · 41 min read
Understanding Kafka's Transition from ZooKeeper to KRaft: Architecture, Installation, Raft Algorithm, and Common Issues
High Availability Architecture
High Availability Architecture
Mar 29, 2022 · Fundamentals

Abstract Paxos: Unifying Paxos and Raft through Formal Derivation of Distributed Consensus

This article presents abstract‑paxos, a unified framework that derives Paxos and Raft from first principles, defines information certainty, quorum, and a total order on states using commit_index, and details a two‑phase protocol, member‑change handling, and how the model maps to classic Paxos and Raft implementations.

ConsensusDistributed SystemsPaxos
0 likes · 25 min read
Abstract Paxos: Unifying Paxos and Raft through Formal Derivation of Distributed Consensus
dbaplus Community
dbaplus Community
Mar 22, 2022 · Fundamentals

Master Raft in 10 Minutes: A Clear Guide to Consensus Algorithms

This article demystifies consensus algorithms by explaining the difference between consistency and consensus, introducing the replicated state machine concept, and providing a concise, step‑by‑step walkthrough of the Raft algorithm—including state simplification, leader election, log replication, and safety guarantees.

Consensus AlgorithmDistributed SystemsLog Replication
0 likes · 12 min read
Master Raft in 10 Minutes: A Clear Guide to Consensus Algorithms
Xiaolei Talks DB
Xiaolei Talks DB
Mar 16, 2022 · Operations

How to Recover a TiKV Cluster After Multiple Node Failures

This article demonstrates how to simulate and recover TiKV cluster failures by shutting down one, two, or three nodes, explains the impact on Raft groups and region availability, and provides step‑by‑step commands for disabling PD scheduling, using tikv‑ctl, and restoring data integrity.

Cluster RecoveryData lossPD
0 likes · 28 min read
How to Recover a TiKV Cluster After Multiple Node Failures
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 14, 2022 · Databases

Understanding ClickHouse-Keeper: Features, Configuration, Commands, and Migration from ZooKeeper

ClickHouse‑Keeper, a C++‑based ZooKeeper replacement using the Raft algorithm, offers linearizable reads, compression, and easier deployment; this article explains its advantages, configuration template, startup command, parameter details, health checks, and step‑by‑step migration from ZooKeeper using the ClickHouse‑Keeper‑Converter tool.

ClickHouseConfigurationKeeper
0 likes · 6 min read
Understanding ClickHouse-Keeper: Features, Configuration, Commands, and Migration from ZooKeeper
Top Architect
Top Architect
Feb 17, 2022 · Cloud Native

Understanding etcd: Features, Use Cases, and Comparison with Zookeeper

This article provides a comprehensive overview of etcd, describing its purpose as a distributed, reliable key‑value store, outlining its core features, detailing multiple real‑world scenarios such as service discovery, configuration management, load balancing, distributed locking, and comparing its advantages over Zookeeper.

RaftZookeeper comparisondistributed key-value store
0 likes · 15 min read
Understanding etcd: Features, Use Cases, and Comparison with Zookeeper
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Feb 15, 2022 · Operations

Why etcd Is the Backbone of Modern Distributed Systems

This article explains what etcd is, its origins, core features such as simplicity, security, speed, and reliability, and details eight practical scenarios—including service discovery, messaging, load balancing, distributed coordination, locks, queues, monitoring, and leader election—showing why it often outperforms Zookeeper in cloud‑native environments.

Raftetcdkey-value store
0 likes · 15 min read
Why etcd Is the Backbone of Modern Distributed Systems
Architecture Digest
Architecture Digest
Feb 13, 2022 · Cloud Native

What Is etcd? Features, Use Cases, and Comparison with Zookeeper

This article explains the distributed key‑value store etcd, its origin, core characteristics such as simplicity, security, speed and Raft‑based reliability, and details eight practical scenarios—including service discovery, pub/sub, load balancing, distributed locks and leader election—while also comparing it with Zookeeper.

Configuration ManagementRaftdistributed key-value store
0 likes · 15 min read
What Is etcd? Features, Use Cases, and Comparison with Zookeeper
Tencent Cloud Developer
Tencent Cloud Developer
Jan 23, 2022 · Fundamentals

Understanding Paxos and Consensus Algorithms in Distributed Systems

Understanding Paxos and other consensus algorithms, this article explains how crash‑fault‑tolerant protocols like Paxos, Raft, and ZAB achieve sequential consistency through two‑phase voting, contrasts them with Byzantine‑fault‑tolerant methods, and details Multi‑Paxos optimizations, leader election, and practical trade‑offs for distributed systems.

Byzantine Fault ToleranceConsensus AlgorithmCrash Fault Tolerance
0 likes · 20 min read
Understanding Paxos and Consensus Algorithms in Distributed Systems
NiuNiu MaTe
NiuNiu MaTe
Jan 6, 2022 · Blockchain

Understanding Consensus: From Raft to PoW in Blockchain

This article explains the concept of consensus in blockchain, compares private, consortium and public environments, and introduces key algorithms such as Paxos, Raft, PBFT, Proof‑of‑Work and Proof‑of‑Stake, highlighting their challenges and solutions.

ConsensusDistributed SystemsPOS
0 likes · 10 min read
Understanding Consensus: From Raft to PoW in Blockchain
AntTech
AntTech
Dec 1, 2021 · Databases

Maxwell High‑Performance Accounting Database: Architecture, Performance, and Real‑World Deployment at Alipay

The article presents Maxwell, a C/assembly‑based high‑performance accounting database designed for Alipay, detailing its architecture, hotspot account challenges, performance optimizations such as Raft and a custom storage engine, and real‑world results showing thousand‑fold throughput gains and robust operation during massive promotional events.

AlipayPerformance OptimizationRaft
0 likes · 12 min read
Maxwell High‑Performance Accounting Database: Architecture, Performance, and Real‑World Deployment at Alipay
Baidu Intelligent Testing
Baidu Intelligent Testing
Nov 16, 2021 · Cloud Native

Service Governance and etcd: Concepts, Raft & BoltDB Implementation, and Large‑Scale Practices at Baidu

This article introduces service governance fundamentals, explains how etcd’s Raft‑based consensus and BoltDB storage work, compares etcd with ZooKeeper and Consul, and describes Baidu’s large‑scale, high‑availability, high‑performance service‑governance platform built on these technologies.

BoltDBCloud NativeRaft
0 likes · 20 min read
Service Governance and etcd: Concepts, Raft & BoltDB Implementation, and Large‑Scale Practices at Baidu
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
Programmer DD
Programmer DD
Oct 17, 2021 · Databases

TiDB Architecture Explained: TiKV, PD, and Raft in Distributed Databases

TiDB is a distributed, MySQL-compatible database built from three core components—TiDB Server for stateless SQL processing, PD for global scheduling and metadata management, and TiKV for high‑performance key‑value storage—coordinated via the Raft consensus algorithm to ensure strong consistency and fault tolerance.

Database ArchitecturePDRaft
0 likes · 13 min read
TiDB Architecture Explained: TiKV, PD, and Raft in Distributed Databases
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 11, 2021 · Fundamentals

Can Joint Consensus Member Changes Be Simplified to a Single Step?

This article examines the challenges of Raft’s two‑stage Joint Consensus member changes, explores single‑step alternatives, analyzes ZooKeeper’s approach, and proposes improvements that combine safety with reduced log overhead, offering practical insights for distributed system engineers seeking more efficient reconfiguration methods.

ConsensusDistributed SystemsRaft
0 likes · 15 min read
Can Joint Consensus Member Changes Be Simplified to a Single Step?
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 28, 2021 · Databases

Design and Evolution of BaikalDB: A Cloud‑Native Distributed Database for Commercial Advertising Systems

This article examines the business storage requirements of large‑scale advertising platforms and details how BaikalDB was architected as a cloud‑native, MySQL‑compatible distributed database that combines OLTP, OLAP, KV and full‑text capabilities while ensuring high reliability, low cost and linear scalability.

AdvertisingBaikalDBCloud Native
0 likes · 24 min read
Design and Evolution of BaikalDB: A Cloud‑Native Distributed Database for Commercial Advertising Systems
Tech Musings
Tech Musings
Jul 11, 2021 · Fundamentals

Why Distributed Consistency Algorithms Matter and How Raft Achieves Consensus

This article explains why distributed systems need consistency algorithms, compares weak and strong consistency, outlines the challenges of unreliable networks and clocks, and provides a detailed walkthrough of the Raft consensus protocol, its node states, state variables, RPCs, and a practical lab implementation for leader election.

Consensus AlgorithmDistributed SystemsRaft
0 likes · 12 min read
Why Distributed Consistency Algorithms Matter and How Raft Achieves Consensus
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.

ConsistencyLog ReplicationRaft
0 likes · 11 min read
Raft Log Replication: Format, Process, and Consistency Guarantees
Tencent Cloud Middleware
Tencent Cloud Middleware
Jun 28, 2021 · Big Data

Getting Started with Kafka’s New KRaft Mode: A Step‑by‑Step Guide

This article introduces Apache Kafka’s KRaft (Kafka Raft) mode, explains its architectural differences from ZooKeeper‑based deployments, details essential configuration parameters, and provides a complete step‑by‑step procedure—including commands and utility tools—to set up and operate a KRaft cluster.

ConfigurationDeploymentDistributed Systems
0 likes · 14 min read
Getting Started with Kafka’s New KRaft Mode: A Step‑by‑Step Guide
Ops Development Stories
Ops Development Stories
Jun 16, 2021 · Backend Development

How Raft Achieves Consensus: Leader Election, Log Replication, and State Machine Explained

This article explains the core mechanisms of the Raft consensus algorithm—including leader election, log replication, safety guarantees, message structures, state transitions, and key Go implementations in etcd-raft—providing code examples and detailed analysis of functions such as becomeLeader, tickElection, and appendEntry.

ConsensusDistributed SystemsGo
0 likes · 21 min read
How Raft Achieves Consensus: Leader Election, Log Replication, and State Machine Explained
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 AlgorithmLog ReplicationPaxos Comparison
0 likes · 16 min read
Understanding the Raft Consensus Algorithm: Principles, Workflow, and Comparison with Paxos
Qingyun Technology Community
Qingyun Technology Community
Jun 7, 2021 · Databases

Why Xenon Is the Modern MySQL HA Alternative to MHA

This article compares the legacy MHA solution with the modern open‑source Xenon tool, explaining Xenon's Raft‑based architecture, automatic leader election, GTID integration, and enterprise‑grade features that make it a superior high‑availability option for MySQL deployments.

GTIDMHARaft
0 likes · 7 min read
Why Xenon Is the Modern MySQL HA Alternative to MHA
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 3, 2021 · Fundamentals

How Raft Powers Reliable Distributed Systems – From Consensus Basics to SOFAJRaft

This article explains distributed consensus, compares Paxos, ZAB and Raft, details Raft's leader election, log replication and commit mechanics, introduces read‑optimisation techniques such as ReadIndex and Lease Read, and showcases the Java‑based SOFAJRaft library with its architecture, performance tricks and real‑world use cases.

Consensus AlgorithmDistributed SystemsLog Replication
0 likes · 19 min read
How Raft Powers Reliable Distributed Systems – From Consensus Basics to SOFAJRaft
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
Programmer DD
Programmer DD
Apr 30, 2021 · Big Data

Kafka 2.8.0 Release: Say Goodbye to ZooKeeper with Raft Metadata Mode

Kafka 2.8.0, released on April 19, 2021, introduces the groundbreaking Raft Metadata mode that eliminates the need for ZooKeeper, alongside numerous new features, bug fixes, and enhancements such as API controls for stream threads, SASL_SSL mutual TLS, and IP rate limiting.

Big DataKafkaRaft
0 likes · 5 min read
Kafka 2.8.0 Release: Say Goodbye to ZooKeeper with Raft Metadata Mode
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
MaGe Linux Operations
MaGe Linux Operations
Mar 8, 2021 · Operations

How to Build a Highly Available etcd Cluster with SSL Security

This guide explains the fundamentals of etcd, its Raft‑based architecture, cluster planning, secure certificate generation, installation steps, service configuration, and verification commands to deploy a reliable, SSL‑protected etcd cluster for service discovery and configuration management.

ClusterConfiguration ManagementRaft
0 likes · 16 min read
How to Build a Highly Available etcd Cluster with SSL Security
Tencent Cloud Middleware
Tencent Cloud Middleware
Mar 8, 2021 · Backend Development

Understanding CAP, BASE, Paxos and Raft: Core Distributed Consistency Algorithms

This article explains the evolution of backend service architectures, introduces the CAP and BASE theories, and provides detailed walkthroughs of the Paxos and Raft consensus algorithms, covering their roles, constraints, protocol steps, and practical considerations for building reliable distributed systems.

BASE theoryCAP theoryConsensus Algorithm
0 likes · 22 min read
Understanding CAP, BASE, Paxos and Raft: Core Distributed Consistency Algorithms
Tencent Cloud Developer
Tencent Cloud Developer
Feb 26, 2021 · Fundamentals

Distributed Consistency Algorithms: CAP, BASE, Paxos, and Raft

From CAP and BASE trade‑offs to the rigorous Paxos consensus and the more approachable Raft protocol, this article explains how modern distributed systems achieve consistency despite partitions, failures, and latency, detailing roles, phases, and safety guarantees that underpin reliable micro‑service architectures.

BASE theoryCAP theoremConsistency
0 likes · 21 min read
Distributed Consistency Algorithms: CAP, BASE, Paxos, and Raft
Wukong Talks Architecture
Wukong Talks Architecture
Jan 26, 2021 · Fundamentals

Explaining the Raft Consensus Algorithm with Animated Diagrams

This article uses animated diagrams to explain the Raft consensus algorithm, covering its overview, roles, single‑node and multi‑node scenarios, leader election process, term handling, election rules, heartbeat timeouts, and leader failure recovery, helping readers grasp distributed consistency fundamentals.

ConsensusRaftleader election
0 likes · 10 min read
Explaining the Raft Consensus Algorithm with Animated Diagrams
Code Ape Tech Column
Code Ape Tech Column
Dec 29, 2020 · Fundamentals

Understanding Distributed Consistency: CAP, BASE, 2PC, 3PC, Paxos, Raft, ZAB, and NWR Model

This article explains the challenges of distributed systems such as node failures and network anomalies, then introduces the CAP theorem, BASE theory, two‑phase and three‑phase commit protocols, and details consensus algorithms including Paxos, Raft, ZAB, and Amazon Dynamo's NWR model, highlighting their trade‑offs and practical usage.

2PC3PCCAP theorem
0 likes · 37 min read
Understanding Distributed Consistency: CAP, BASE, 2PC, 3PC, Paxos, Raft, ZAB, and NWR Model
Alibaba Cloud Native
Alibaba Cloud Native
Dec 28, 2020 · Backend Development

Understanding Nacos 1.x and 2.x Architectures: Evolution, Issues, and Improvements

This article provides a detailed overview of Nacos' evolution from its 1.x architecture to the 2.x version, explaining the layered design, service discovery model, identified shortcomings of the older version, and the enhancements introduced with long‑connection support, new data models, and performance optimizations.

Configuration ManagementMicroservicesNacos
0 likes · 13 min read
Understanding Nacos 1.x and 2.x Architectures: Evolution, Issues, and Improvements
JD Cloud Developers
JD Cloud Developers
Dec 24, 2020 · Cloud Native

How JD Cloud’s JCQ Redefines Cloud‑Native Messaging with Compute‑Storage Separation

JCQ, JD Cloud’s self‑developed cloud‑native message queue, evolved from a monolithic 1.0 version to a 3.0 architecture that separates compute and storage, introduces multi‑Raft scaling, dynamic resource allocation, and high‑availability features, offering flexible, low‑maintenance messaging for high‑concurrency workloads.

KubernetesMessage QueueRaft
0 likes · 10 min read
How JD Cloud’s JCQ Redefines Cloud‑Native Messaging with Compute‑Storage Separation