🔴 How DataBase Replication works? WATCH THIS before your System Design Interview

Published: 20 May 2022
on channel: Rachit Jain
15,928
403

In this video, we understand what is Distributed Data, its benefits and how does Replication work behind the scenes. How is Replication Sync happening, what are the possible architectures, what are their benefits and drawbacks? The DDIA Book is a great recommendation for System Design and I would like to summarise the chapters and my learnings here.

References
DDIA Book: https://amzn.to/3B6TJcm
System Design Playlist: https://bit.ly/system-design-course

Sponsored By Educative.io
✅ 𝗘𝗱𝘂𝗰𝗮𝘁𝗶𝘃𝗲.𝗶𝗼 [46% OFF] 👉🏻https://bit.ly/educative-unlimited-ex...
Educative.io coupon "rachit" to get extra discount or use the link above to get "Unlimited" access to "ALL" courses on their websites - React, System Design, Coding Interview in C++, Python, Java, Redux, Docker and what not!

Chapters
00:00 Why watch this video?
01:02 Sponsor
1:38 What is Distributed Data
2:22 Benefits of Distributed Data - Scalability, Availability, Latency
3:53 Vertical vs Horizontal Scaling
4:58 Why Horizontal Scaling is Tricky?
5:13 How is Data Distributed - Replication vs Partitioning
7:00 Example of Replication Lag Causing Stale Reads
7:45 Different Types of Replication - Single Leader, Multi Leader, Leaderless
9:26 Important Properties of a Replication Architecture
10:39 Synchronous Replication - Benefits and Drawbacks
11:28 Asynchronous Replication - Benefits and Drawbacks
12:34 How to add more Replicas in real time?
14:23 Handling Replica Crash Scenario
14:54 Handling Leader Crash Scenario
15:56 Problems with Leader Crash - Important!
18:50 What exactly is the Replication Log? How does it work?
23:35 Problems with Replication Lag (preview of next video)


𝗜𝗡𝗧𝗘𝗥𝗩𝗜𝗘𝗪 𝗣𝗥𝗘𝗣 𝗣𝗥𝗢𝗗𝗨𝗖𝗧𝗦
✅ 𝗘𝗱𝘂𝗰𝗮𝘁𝗶𝘃𝗲.𝗶𝗼 [10% OFF for First 90 Users] 👉🏻https://educative.io/rachit
✅ 𝗦𝘆𝘀𝘁𝗲𝗺 𝗗𝗲𝘀𝗶𝗴𝗻 [Discount for Indian audience] 👉🏻https://bit.ly/design-rachit
✅ 𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗕𝗼𝗼𝗸𝘀 [Amazon Affiliate] 👉🏻https://amazon.in/shop/rachitjain

SUBSCRIBE AND HIT BELL ICON TO CHECK MORE OF MY CONTENT
http://youtube.com/RachitJain?sub_con...


𝗦𝗢𝗖𝗜𝗔𝗟 𝗣𝗥𝗢𝗙𝗜𝗟𝗘𝗦
✅ Portfolio Website - https://rachitiitr.com
✅ Instagram -   / rachitiitr  
✅ LinkedIn -   / rachitiitr  
✅ Twitter -   / rachitiitr  
✅ Github - https://github.com/rachitiitr/DataStr...
✅ Facebook - https://fb.me/AlgorithmsWithRachitJain


𝗜𝗠𝗣𝗢𝗥𝗧𝗔𝗡𝗧 𝗣𝗟𝗔𝗬𝗟𝗜𝗦𝗧𝗦
✅ 𝗖𝗼𝗱𝗶𝗻𝗴 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝗟𝗲𝗰𝘁𝘂𝗿𝗲𝘀 👉🏻   • Day 3: Coding Interview Prep With ex-...  
✅ 𝗚𝗿𝗮𝗽𝗵 𝗧𝗵𝗲𝗼𝗿𝘆 𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁 👉🏻   • Graph Theory and Algorithms: Programm...  
✅ 𝗖++ 𝗦𝗧𝗟 𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁 👉🏻   • The Best Demo on C++ STL and its Powe...  
✅ 𝗠𝘆 𝗣𝗲𝗿𝘀𝗼𝗻𝗮𝗹 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀 👉🏻   • Uber SDE II Interview Experience | Mo...  
✅𝗣𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝘃𝗶𝘁𝘆 𝗧𝗶𝗽𝘀 𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁 👉🏻   • Uber SDE II Interview Experience | Mo...  
✅𝗟𝗶𝗳𝗲 𝗟𝗲𝘀𝘀𝗼𝗻𝘀 & 𝗠𝗲𝗻𝘁𝗼𝗿𝘀𝗵𝗶𝗽 👉🏻   • Why I Chose To Become A Full-Stack De...  



𝗣𝗥𝗢𝗚𝗥𝗔𝗠𝗠𝗜𝗡𝗚 𝗣𝗥𝗢𝗙𝗜𝗟𝗘𝗦
✅ Github ► https://github.com/rachitiitr/DataStr...
✅ Programming Blog ► http://rachitiitr.blogspot.com
✅ CodeForces ► http://www.codeforces.com/profile/rac...
✅ CodeChef ► http://www.codechef.com/users/rachitiitr


Watch video 🔴 How DataBase Replication works? WATCH THIS before your System Design Interview online without registration, duration hours minute second in high quality. This video was added by user Rachit Jain 20 May 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 15,92 once and liked it 40 people.