Tag

Consensus

2 views collected around this technical thread.

Java Captain
Java Captain
May 28, 2025 · Fundamentals

Introduction to ZooKeeper: Design Goals, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election, and Deployment

This article provides a comprehensive overview of ZooKeeper, covering its purpose as a distributed coordination service, design objectives such as consistency and reliability, hierarchical data model, session and watch mechanisms, consistency guarantees, leader election and Zab protocol, as well as practical deployment details.

ConsensusDistributed CoordinationLeader Election
0 likes · 20 min read
Introduction to ZooKeeper: Design Goals, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election, and Deployment
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 25, 2025 · Fundamentals

How Consensus, CAP, and BASE Shape High‑Availability Architecture

This article explains the role of consensus algorithms in achieving high‑availability through redundancy and automatic failover, clarifies distributed consistency, explores the CAP theorem and its C component, and introduces the BASE theory as a practical complement for eventual consistency in modern distributed systems.

BASE theoryCAP theoremConsensus
0 likes · 10 min read
How Consensus, CAP, and BASE Shape High‑Availability Architecture
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 18, 2025 · Fundamentals

How Distributed Consensus Overcomes the FLP Impossibility Theorem

This article explores how to build fault‑tolerant distributed systems by formalizing consensus, outlines its core properties, explains the FLP impossibility theorem, and shows how algorithms like Raft sidestep its limits through timing constraints and recovery mechanisms.

ConsensusDistributed SystemsFLP theorem
0 likes · 8 min read
How Distributed Consensus Overcomes the FLP Impossibility Theorem
Cognitive Technology Team
Cognitive Technology Team
Feb 2, 2025 · Fundamentals

Common Misconceptions in Distributed System Design and Their Solutions

Designing distributed systems often falls prey to misconceptions such as assuming reliable networks, zero latency, unlimited bandwidth, inherent security, static topology, zero transmission cost, and full autonomy, but applying retries, idempotency, message queues, encryption, dynamic discovery, caching, and time protocols can mitigate these issues.

ConsensusDistributed Systemslatency
0 likes · 5 min read
Common Misconceptions in Distributed System Design and Their Solutions
Cognitive Technology Team
Cognitive Technology Team
Oct 27, 2024 · Blockchain

What Is Blockchain? Core Concepts and Fundamentals

This article explains blockchain by distinguishing its narrow definition as a cryptographically linked data structure from its broader view as a decentralized infrastructure, and then details blocks, headers, bodies, hash functions, chain structure, Merkle trees, timestamps, asymmetric encryption, P2P networking, data propagation, and validation mechanisms.

ConsensusMerkle treeblockchain
0 likes · 11 min read
What Is Blockchain? Core Concepts and Fundamentals
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
Wukong Talks Architecture
Wukong Talks Architecture
Apr 4, 2023 · Fundamentals

Understanding the Raft Consensus Algorithm: Roles, Leader Election, and Fault Handling

This article explains the Raft consensus algorithm, detailing its roles, leader election process, term management, fault handling, and how it ensures consistency in both single‑node and multi‑node distributed systems for modern cloud‑native applications.

ConsensusDistributed SystemsLeader Election
0 likes · 12 min read
Understanding the Raft Consensus Algorithm: Roles, Leader Election, and Fault Handling
DataFunTalk
DataFunTalk
Apr 2, 2023 · Backend Development

Introducing RaftKeeper: A High‑Performance Raft‑Based Distributed Coordination Service

RaftKeeper is an open‑source, C++‑implemented Raft‑based distributed consensus service that offers double‑the‑throughput, sub‑second latency, five‑nines availability, and full ZooKeeper compatibility, targeting high‑performance OLAP workloads and large‑scale backend scenarios.

ConsensusDistributed SystemsRaft
0 likes · 5 min read
Introducing RaftKeeper: A High‑Performance Raft‑Based Distributed Coordination Service
High Availability Architecture
High Availability Architecture
Dec 1, 2022 · Fundamentals

Extending Paxos with Partially Ordered rnd Values for Transactional Mutual Exclusion

The article explains how Paxos can be generalized by defining its round number (rnd) over any partially ordered set, enabling both forced and non‑forced conflict exclusion mechanisms similar to 2PC, and showing how this expands Paxos’s applicability to multi‑dimensional transaction ordering and simplifies distributed database architectures.

2PCConsensusDistributed Systems
0 likes · 4 min read
Extending Paxos with Partially Ordered rnd Values for Transactional Mutual Exclusion
Bilibili Tech
Bilibili Tech
Aug 9, 2022 · Blockchain

Smart Contracts, EVM Design, and Consensus Mechanisms in Blockchain

The article explains Web3’s trust‑less model and smart‑contract fundamentals—from Bitcoin’s simple script to Ethereum’s gas‑metered EVM—examines design trade‑offs such as on‑chain versus signature‑based whitelists, outlines engineering practices for immutable bytecode upgrades, and describes consensus evolution from PoW to a hybrid PoS/PoA PBFT “High‑Energy Chain.”

ConsensusEVMGas
0 likes · 28 min read
Smart Contracts, EVM Design, and Consensus Mechanisms in Blockchain
政采云技术
政采云技术
Apr 21, 2022 · R&D Management

Key Practices for Effective Team Retrospectives: Building Consensus and Analyzing Strengths and Weaknesses

The article explains how establishing team consensus on the purpose and baseline of retrospectives, understanding the two main retrospective approaches, and equally analyzing both strengths and weaknesses while focusing on key factors and deep analysis can prevent blame culture and improve learning outcomes.

ConsensusR&Danalysis
0 likes · 3 min read
Key Practices for Effective Team Retrospectives: Building Consensus and Analyzing Strengths and Weaknesses
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
Wukong Talks Architecture
Wukong Talks Architecture
Mar 23, 2022 · Backend Development

Understanding Zookeeper's ZAB Protocol: Leader Election, Data Synchronization, and Consistency

This article explains Zookeeper's ZAB (Zookeeper Atomic Broadcast) protocol, detailing node roles, the leader election process during startup and failure, the two‑phase commit data synchronization, ordering guarantees, and scenarios of leader crash and data loss, providing clear diagrams and code examples.

Atomic BroadcastConsensusDistributed Systems
0 likes · 10 min read
Understanding Zookeeper's ZAB Protocol: Leader Election, Data Synchronization, and Consistency
Java Architect Essentials
Java Architect Essentials
Oct 18, 2021 · Fundamentals

Fundamentals of Distributed Systems: Models, Replication, Consistency, and Protocols

This article introduces core concepts of distributed systems, including node and replica models, various consistency levels, data distribution strategies, lease and quorum mechanisms, replica control protocols such as primary‑secondary, two‑phase commit, MVCC, Paxos, and the CAP theorem, providing a comprehensive overview for architects.

CAP theoremConsensusDistributed Systems
0 likes · 54 min read
Fundamentals of Distributed Systems: Models, Replication, Consistency, and Protocols
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
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jun 17, 2021 · Blockchain

Understanding Distributed Consensus: PBFT, PoW, and PoS Algorithms

This article explains the challenges of distributed consistency in decentralized environments and provides an in‑depth overview of classic consensus algorithms such as PBFT, Proof‑of‑Work, and Proof‑of‑Stake, including their mechanisms, limitations, and suitable application scenarios.

ConsensusDistributed SystemsPBFT
0 likes · 22 min read
Understanding Distributed Consensus: PBFT, PoW, and PoS Algorithms
Top Architect
Top Architect
Apr 24, 2021 · Fundamentals

Fundamentals of Distributed Systems: Models, Replication, Consistency, and Core Protocols

This article provides a comprehensive overview of distributed system fundamentals, covering node models, replica concepts, various consistency levels, data distribution strategies, lease-based caching, quorum mechanisms, two‑phase commit, MVCC, Paxos consensus, and the CAP theorem, illustrating each with practical examples and diagrams.

CAP theoremConsensusDistributed Systems
0 likes · 54 min read
Fundamentals of Distributed Systems: Models, Replication, Consistency, and Core Protocols
Wukong Talks Architecture
Wukong Talks Architecture
Mar 19, 2021 · Fundamentals

Understanding Zookeeper: Architecture, Nodes, Sessions, Watchers, Leader Election, and Consistency

This article provides a comprehensive overview of Zookeeper, covering its purpose, cluster roles, Znode types, session handling, watcher mechanism, ACL permissions, common use cases, data consistency via the ZAB protocol, leader election, synchronization methods, potential inconsistency scenarios, and a comparison with other service‑registry solutions.

ConsensusDistributed SystemsLeader Election
0 likes · 16 min read
Understanding Zookeeper: Architecture, Nodes, Sessions, Watchers, Leader Election, and Consistency
360 Smart Cloud
360 Smart Cloud
Feb 25, 2021 · Blockchain

Polkadot Overview: Architecture, Relay Chain, Parachains, Transaction Lifecycle, and NPoS Mechanism

This article provides a comprehensive overview of Polkadot, explaining its relay‑chain and parachain architecture, cross‑chain interoperability goals, detailed transaction lifecycle across five stages, the nominated proof‑of‑stake (NPoS) consensus mechanism, and the growing ecosystem of applications built on the platform.

ConsensusCross-chainNPoS
0 likes · 11 min read
Polkadot Overview: Architecture, Relay Chain, Parachains, Transaction Lifecycle, and NPoS Mechanism