Design Key-Value Store - (PART-VIII) : Handling Permanent Failures | Anti-Entropy | Merkle Tree😱

Subscribers:
92,300
Published on ● Video Link: https://www.youtube.com/watch?v=VyLur6btuaU



Duration: 9:15
237 views
18


This is the Eighth video on designing our "Key-Value Store" (PART-VIII).
We are seeing core components and techniques to build Key-Value Store.
1. Data Partition
2. Data Replication
3. Consistency
4. Inconsistency Resolution
5. Handling Failures
6. System Architecture Diagram
7. Write Path
8. Read Path

In this video, we will focus on "Handling Failures". It has two parts :
* Handling Temporary Failures
* Handling Permanent Failures
Here, we will focus on "Permanent Failures".
We will also see some famous protocol named as "Anti-Entropy Protocol" and see how we implement it using
a famous data structure named as "Merkle Tree".

Please use the below pointers for different time stamps. Hope that helps :

Introduction : (00:00)
Permanent Failures and Anti-Entropy Protocol : (00:37)
Merkle Tree: (01:20)
How Merkle Tree Works : (01:33)
Benefit Of Merkle Tree : (07:16)
Handling Data Centre Outage : (07:53)


My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Intervie...
Subscribe to my channel : https://www.youtube.com/channel/UCaw5...




Other Videos By codestorywithMIK


2022-08-09Spiral Matrix - (Amazon, Microsoft, Paytm...) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-08Design A Unique ID Generator In Distributed Systems (Part-II): Multi Master Replication πŸ—πŸ‘·πŸ‘©πŸ»β€πŸ’»
2022-08-05Check Completeness of a Binary Tree (DFS) - (Meta, Amazon) : Explanation βž• Live Coding
2022-08-04Check Completeness of a Binary Tree (BFS) - (Meta, Amazon) : Explanation βž• Live Coding
2022-08-02Container With Most Water - (Meta, Google, Amazon) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-01Design A Unique ID Generator In Distributed Systems - (Part-I) : Understand The Problem πŸ—πŸ‘·πŸ‘©πŸ»β€πŸ’»
2022-07-30Single Element in a Sorted Array-(Amazon, Microsoft, OLA...):Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-07-29Design Key-Value Store - (PART-X) : Read Path & Write Pathβš™οΈπŸ§‘πŸ»β€πŸ’»πŸ‘·πŸ—πŸ‘©β€πŸŽ¨
2022-07-28Design Key-Value Store - (PART-IX) : System Architecture Diagram πŸ˜±βš™οΈπŸ—πŸ‘©β€πŸŽ¨πŸ‘·πŸ‘·β€β™€οΈ
2022-07-27Lowest Common Ancestor of a Binary Tree-(Microsoft, Amazon, Accolite...):Live Coding πŸ§‘πŸ»β€πŸ’»
2022-07-26Design Key-Value Store - (PART-VIII) : Handling Permanent Failures | Anti-Entropy | Merkle Tree😱
2022-07-25Search a 2D Matrix-(Amazon, Microsoft, MentorGraphics...):Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-07-24Rotate Image - (Amazon, Microsoft, Morgan Stanley,..):Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-07-23Design Key-Value Store - (PART-VII) : Handling Temporary Failures | Gossip Protocol | Hinted πŸ€―πŸ˜±πŸ—
2022-07-19Next Permutation - (Google, Microsoft, Amazon..):Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-07-18Design Key-Value Store - (PART-VI) : Inconsistency Resolution and Vector ClocksπŸ˜±πŸ€―βš™οΈ
2022-07-17Find Minimum in Rotated Sorted Array-(Amazon, Microsoft, Morgan Stanley):Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-07-16Find First & Last Position Of Element In Sorted Array-(LinkedIn, Amazon):Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-07-15Construct Binary Tree From Preorder And Inorder TraversalοΏΌ-(Microsoft, Amazon):Live Coding πŸ§‘πŸ»β€πŸ’»
2022-07-15Factorial Of Large Numbers - (Microsoft, MakeMyTrip, Adobe):Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-07-14Design Key-Value Store - (PART-V) : Consistency, Quorum, Tunable Consistency πŸ˜±πŸ€―βš™οΈ