• Write your first java version of raft distributed kV storage


    Preface The purpose of this paper is to show how to use java language to realize the distributed storage project with kV structure based on raft algorithm. The background of this project is to deeply understand the raft algorithm and how to achieve strong data consistency in a distributed environment. The goal of this project […]

  • Raft algorithm of distributed system


    Raft, as a simplified version of Paxos, is widely used in engineering. Several articles reprinted in this paper introduce the working principle and implementation of raft in detail. Raft algorithm of distributed system Summary: at present, almost all languages have library packages supporting raft algorithm. For details, please refer to: raftconsensus.github.io English animation demonstration raft […]

  • Tikv source code analysis series article (10) sending and receiving of snapshot


    Author: Huang Menglong background knowledge Tikv uses the raft algorithm to provide highly available and highly consistent storage services. In raft, snapshot refers to a snapshot of the whole state machine data. Generally speaking, snapshot is needed in the following situations: Under normal circumstances, the leader and the follower / learner are synchronized by the […]

  • How do we design the rust & distributed storage tutorial? |The story behind talent plan


    Author: Shen Taining, Tang Liu The pingcap talent plan in the eyes of many people may be github.com/pingcap/talent-plan, but it is not complete from the content point of view. This repo is only the content of online courses. We also have offline courses matching with it.This article will talk about pingcap talent plan (tikv direction) […]

  • Consensus problem


    This paper describes the concept, algorithm and application of distributed consensus. It involves raft, Paxos (basic, multi, fast), zk, etcd, chubby. And thinking. Concern and consensus on how zk, etcd, chubby interfaces can be applied to service discovery, distributed locks, etc. are omitted. Consensus: One or more nodes make a proposal and the algorithm chooses […]