This article explains blockchain as a distributed, fault‑tolerant ledger that combines P2P networking, cryptography, and economic game theory, describing its layered architecture, consensus mechanisms, public versus consortium chains, major platforms, and the distinction between UTXO and account‑balance models.
This article provides a comprehensive overview of blockchain technology, covering its definition, the three core technical elements—p2p networking, consensus algorithms, and cryptography—its potential applications in finance, value internet, and sharing economy, as well as notable open‑source projects and the current Chinese landscape.
This article explains the concept of a Master role in distributed systems, how Master election relies on strong consistency via Paxos, details a lease‑based election algorithm, and discusses correctness guarantees and renewal mechanisms using versioning.
This article explains the core principles and engineering details of the production‑grade Paxos library PhxPaxos, covering consistency concepts, the roles of proposer, acceptor and learner, instance management, state‑machine integration, performance optimizations, checkpointing, and correctness verification in distributed asynchronous environments.
This article examines the difficulties of achieving strong consistency and continuous availability in database replication, reviews the Paxos consensus protocol and its variants, and explains how Multi‑Paxos and clock‑driven leader election can be applied to build robust high‑availability architectures.