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

Поділитися
Вставка
  • Опубліковано 3 січ 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 :)

  • @anand2009ish
    @anand2009ish 2 роки тому

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

  • @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 7 місяців тому

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

  • @Jchandshahcttw
    @Jchandshahcttw 2 роки тому +5

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

  • @RajatMehta-r2h
    @RajatMehta-r2h Рік тому

    Thanks for sharing

  • @ashishaggarwal1842
    @ashishaggarwal1842 2 роки тому +1

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

  • @veerendrashukla
    @veerendrashukla 2 роки тому

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

  • @PallaviJadon-y3c
    @PallaviJadon-y3c Рік тому

    do you have any notes available?

  • @darrylburnett
    @darrylburnett Рік тому

    Does sybase replication have a synchronous/asynchronous option?

  • @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

  • @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.

  • @saurabhmittal6947
    @saurabhmittal6947 6 місяців тому +1

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

  • @mohammedakeel1547
    @mohammedakeel1547 2 роки тому

    You use which programming language the most

  • @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 5 місяців тому

    bhai order thoda upar neeche hai

  • @liquidmetal718
    @liquidmetal718 2 роки тому

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

  • @rajatmishra9993
    @rajatmishra9993 2 роки тому

    Someone's reading DDIA

  • @nerd6134
    @nerd6134 2 роки тому

    This is real engineering