Distributed Consensus and Data Replication strategies on the server

We talk about the Master Slave replication strategy for reliability and data backups. This database concept is often asked in system design interviews with discussions on consistency and availability tradeoffs.

Very closely tied to the master slave architecture is the concept of distributed consensus. When designing a system, we must make sure that the individual components can agree on a particular value. (Leader election, distributed transactions, etc…) Some popular techniques are 2 phase commit, Multi Version Concurrency Control, SAGAs and Quorum.

Chapters

0:00 Problem Statement
0:53 Replication
1:24 Synchronous replication vs. Asynchronous replication
3:36 Peer to Peer data transfer
4:44 Split brain problem

Also useful when used with Master Slave replication is sharding. You can check out the video mentioned below.

(Visited 36 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,761369 6,48%
aave
Aave (AAVE) 84,30 0,46%
the-graph
The Graph (GRT) 0,246108 1,20%
kusama
Kusama (KSM) 27,86 1,59%
waves
Waves (WAVES) 2,27 0,11%
dash
Dash (DASH) 28,61 1,70%
bitcoin
Bitcoin (BTC) 60.211,35 0,21%
ethereum
Ethereum (ETH) 2.941,92 0,48%
cardano
Cardano (ADA) 0,444936 0,21%
tether
Tether (USDT) 0,934625 0,05%
xrp
XRP (XRP) 0,498658 1,37%
solana
Solana (SOL) 134,60 2,75%
polkadot
Polkadot (DOT) 6,46 0,59%
usd-coin
USDC (USDC) 0,934446 0,02%
dogecoin
Dogecoin (DOGE) 0,141171 0,17%
uniswap
Uniswap (UNI) 7,35 1,36%
terra-luna
Terra Luna Classic (LUNC) 0,000105 7,98%
litecoin
Litecoin (LTC) 79,99 2,36%
chainlink
Chainlink (LINK) 13,83 0,58%
bitcoin-cash
Bitcoin Cash (BCH) 446,49 0,72%
algorand
Algorand (ALGO) 0,194449 2,19%
matic-network
Polygon (MATIC) 0,676246 1,91%
stellar
Stellar (XLM) 0,107071 0,60%
cosmos
Cosmos Hub (ATOM) 7,80 1,13%
filecoin
Filecoin (FIL) 5,57 0,63%
tron
TRON (TRX) 0,109367 2,63%
ethereum-classic
Ethereum Classic (ETC) 24,98 1,81%
dai
Dai (DAI) 0,934625 0,09%
tezos
Tezos (XTZ) 0,949579 0,99%
monero
Monero (XMR) 113,68 1,99%