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

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 23

  • @binaykarali6114
    @binaykarali6114 2 ปีที่แล้ว +4

    Great explanation, covers great breadth of replication issues. Good revision for folks who 've already read Designing Data Intensive Applications

  • @markhaur6092
    @markhaur6092 ปีที่แล้ว

    A great resource indeed. Haven't watched it completely yet but depth is really awesome. Really glad I've found it. Thanks Rachit :)

  • @amneetsingh3837
    @amneetsingh3837 ปีที่แล้ว

    5:13 How is Data Distributed - Replication vs Partitioning, I think in this you are talking about sharding not partitioning. Becuase when we talk about data split into multiple machines that is sharding.

    • @prerakhere
      @prerakhere 8 หลายเดือนก่อน

      i think partioning and sharding are not completely mutually exclusive. sharding can be said to be a subset of partioning.

  • @anand2009ish
    @anand2009ish 2 ปีที่แล้ว

    Awesome..cleared many doubts and clarifications after watching this video

  • @Jchandshahcttw
    @Jchandshahcttw 2 ปีที่แล้ว +5

    could you please also share the notes you've used in this video?

  • @ubaidmanzoorwani6254
    @ubaidmanzoorwani6254 2 ปีที่แล้ว +2

    Can you explain different in WAL in LSM tree and B-trees??

    • @RachitJain
      @RachitJain  2 ปีที่แล้ว

      Already detailed videos for both have been present in the playlist. Check video description

  • @ashishaggarwal1842
    @ashishaggarwal1842 2 ปีที่แล้ว +1

    @rachit would a similar (Leader/follower) architecture also follow for DB syncing across geographies ?

  • @PallaviJadon-y3c
    @PallaviJadon-y3c ปีที่แล้ว

    do you have any notes available?

  • @RajatMehta-r2h
    @RajatMehta-r2h ปีที่แล้ว

    Thanks for sharing

  • @veerendrashukla
    @veerendrashukla 2 ปีที่แล้ว

    in which video you discussed the data stored in single machine? I am unable locate it, which video is that one?

  • @darrylburnett
    @darrylburnett 2 ปีที่แล้ว

    Does sybase replication have a synchronous/asynchronous option?

  • @akshaybaura
    @akshaybaura 2 ปีที่แล้ว

    A bit iffy on the WAL based approach (specifically from postgres's pov) mentioned here. I have the following arguments:
    1. WALs can be set to any of the 3 levels which doesn't have to be very verbose.
    2. it seems counter intuitive to see why WALs would pose a demerit to db replication with different versions since they were actually introduced to solve the problem of physical replication. On the same lines, upgrades also aren't an issue.
    Also, postgres's logical replication is a combination of WALs and logical decoding.

  • @JardaniJovonovich192
    @JardaniJovonovich192 2 ปีที่แล้ว

    How to deal with the problem where leader goes down before replicating it's writes to the followers?
    it's a huge data loss, right?

    • @that_yogesh
      @that_yogesh 2 ปีที่แล้ว

      Databases maintain WAL. so when database comes up again it will follow this log and do the updates. after that consensus will be used to agree on latest data. conflict resolution needs to be done in case of conflicting data.

  • @ashutosh_verma_fullstack
    @ashutosh_verma_fullstack 6 หลายเดือนก่อน

    bhai order thoda upar neeche hai

  • @saurabhmittal6947
    @saurabhmittal6947 7 หลายเดือนก่อน +1

    Put this video as 1st video in this playlist. You have misplaced it.

  • @mohammedakeel1547
    @mohammedakeel1547 2 ปีที่แล้ว

    You use which programming language the most

  • @liquidmetal718
    @liquidmetal718 2 ปีที่แล้ว

    Just read paxos or raft or zab .....

  • @rajatmishra9993
    @rajatmishra9993 2 ปีที่แล้ว

    Someone's reading DDIA

  • @nerd6134
    @nerd6134 2 ปีที่แล้ว

    This is real engineering