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 3 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 0,906674 2,08%
aave
Aave (AAVE) 59,85 1,03%
the-graph
The Graph (GRT) 0,096835 4,82%
kusama
Kusama (KSM) 48,23 4,15%
waves
Waves (WAVES) 5,29 4,66%
dash
Dash (DASH) 44,64 3,95%
bitcoin
Bitcoin (BTC) 19.224,12 2,17%
ethereum
Ethereum (ETH) 1.098,28 2,59%
cardano
Cardano (ADA) 0,449361 1,83%
tether
Tether (USDT) 0,945805 0,07%
xrp
XRP (XRP) 0,322741 3,31%
solana
Solana (SOL) 34,15 5,83%
polkadot
Polkadot (DOT) 7,08 3,34%
usd-coin
USD Coin (USDC) 0,946750 0,07%
dogecoin
Dogecoin (DOGE) 0,064216 5,34%
uniswap
Uniswap (UNI) 4,80 4,74%
litecoin
Litecoin (LTC) 50,56 4,03%
chainlink
Chainlink (LINK) 6,08 1,74%
bitcoin-cash
Bitcoin Cash (BCH) 99,92 4,91%
algorand
Algorand (ALGO) 0,298853 3,34%
matic-network
Polygon (MATIC) 0,485226 3,03%
stellar
Stellar (XLM) 0,109428 1,96%
cosmos
Cosmos Hub (ATOM) 7,13 5,88%
filecoin
Filecoin (FIL) 5,27 2,56%
tron
TRON (TRX) 0,063303 1,49%
ethereum-classic
Ethereum Classic (ETC) 14,96 3,37%
dai
Dai (DAI) 0,946750 0,01%
tezos
Tezos (XTZ) 1,47 1,90%
monero
Monero (XMR) 111,61 2,82%