[brief volume of distributed system design] Raft

prefaceThis paper is about the experimental record of Raft in 2022-MIT 6.828;If you find any mistakes in the content, please don't be stingy with your keyboard.Basic concepts of RaftHow does Raft workRaft is a relatively simple consensus algorithm for Paxos, but no matter how simple "how raft works" can not be solved in a few words, a ...

Posted by fxchain on Fri, 18 Feb 2022 15:21:05 +0100

Introduction to Kubernetes using Yunxi database

Why KubernetesContainers are a great way to package and run applications. In a production environment, we need to manage the containers that run our applications and ensure that they don't go down. If one container fails, you need to start another container. If the system handles this behavior, will it be more convenient? This is the value of K ...

Posted by phpnewbie25 on Fri, 11 Feb 2022 14:56:58 +0100

Introduction to slock, a distributed high performance state and atomic operation database

summaryProject address: https://github.com/snower/slockWhat is a state and atomic operations database? Unlike redis, which is mainly used to save data and can efficiently synchronize data between multiple nodes and systems, slock is designed to only save synchronization status and can hardly carry data. The high-performance asynchronous binary ...

Posted by thelinx on Wed, 22 Dec 2021 23:16:28 +0100

Implementing distributed locks with Go + Redis

Why do I need distributed locksUser ordersLock uid to prevent repeated orders.Inventory deductionLock inventory to prevent oversold.Balance deductionLock the account to prevent concurrent operations.When sharing the same resource in a distributed system, distributed locks are often needed to ensure the consistency of change resources.Distribute ...

Posted by Solarpitch on Wed, 15 Dec 2021 04:29:34 +0100

Participate in some summaries of Tinykv

Talent Plan KV learning campAbout Talent Plan KV training camp, I think it is necessary for me to introduce it. This is a set of open source distributed KV storage practical courses launched by PingCAP company. This course includes four sub projects:Project 1 requires participants to complete a stand-alone KV Server independentlyProject 2 needs ...

Posted by MikeNye on Thu, 02 Dec 2021 05:13:21 +0100