Tagged articles
2 articles
Page 1 of 1
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
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Sep 18, 2020 · Cloud Native

Why Etcd Clusters Use Odd Nodes & What Happens During Leader Election

This article explains etcd’s Raft‑based consensus, why odd‑numbered nodes are recommended, details the leader election process with log excerpts, discusses split‑brain and consistency guarantees, and provides step‑by‑step instructions for generating certificates, deploying an etcd cluster, and using etcdctl commands.

CertificateCluster DeploymentDistributed Systems
0 likes · 19 min read
Why Etcd Clusters Use Odd Nodes & What Happens During Leader Election