15. Design High Availability & Resilience System, HLD | Active Passive & Active Active Architecture

Поділитися
Вставка
  • Опубліковано 24 лип 2024
  • This question in interview can come with different ways like :
    Design High Availability System,
    Active Passive and Active Active Architecture,
    Design High Resilience System,
    How to achieve 99.999% Availability
    Chapters:
    00:00 - Introduction
    02:28 - Single Node and Issue with it
    05:55 - Multi Node Types
    06:38 - Active Passive Architecture with its Pros and Cons
    20:00 - Active Active Architecture with its Pros and Cons
    26:22 - About Next Video
    To. connect 1:1 with me: topmate.io/concept_coding
    To contribute for the channel UPI id: shrayansh8@oksbi
    Join this channel to get access to perks:
    / @conceptandcoding
    #systemdesign #softwareengineer #interview #amazon #hld

КОМЕНТАРІ • 51

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

    Really well explain.. Even someone how is starting video from from basic they can understand this concept

  • @ADITYAKUMARking
    @ADITYAKUMARking Рік тому +3

    Just went through whole video. Quality content.Gained lot of knowledge. Thanks for this. Student/Engineer spends lot of money for this education. You are doing this for free. Please let me know what can I do for you.

    • @starsaran25
      @starsaran25 8 місяців тому

      ​@@ConceptandCodingbut you made you others videos paid😢

  • @xskrish
    @xskrish Рік тому +1

    nice way to start the weekend!

  • @sakshamsondhi2019
    @sakshamsondhi2019 Рік тому +2

    Sir, ap itne ache kaise ho sakte ho...😊
    Thanks for such top notch content.
    Proud to say I am also an NITian, will try to catch u up...✌
    GodSpeed.......🚀

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

      Thanks a lot buddy.
      Let's keep learning and sharing buddy

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

      @@ConceptandCoding Please add more videos for HLD before LLD videos.

    • @ravi-thestar8501
      @ravi-thestar8501 4 місяці тому

      thats the reason he is keeping some videos only for members :)

  • @sachitsankhe5102
    @sachitsankhe5102 Рік тому +1

    Top notch quality content

  • @Lucifer-xt7un
    @Lucifer-xt7un Рік тому +1

    Quality at its best❤❤

  • @aviator1209
    @aviator1209 Рік тому +1

    Thanks a lot for creating these videos, these have been very helpful, just one request, can u plz make more of these videos at a little bit higher rate? as a lot of ground is still left to cover. Thanks!!

  • @kolasphoorti1030
    @kolasphoorti1030 Рік тому +2

    Hey Shreyansh, how does data sync happen in active-active? I am not asking about algos or how it resolves data when there is conflict but I am thinking more on side of how communication happens between servers I believe it is asynchronous but as u mentioned in dynamo db video it has to wait for atleast one of the servers to sync up. Does it use websocket protocol? because https synchronous means waiting and asynchonous cannot get acknowledgement from the replicas?

  • @suranjanachattopadhyay4979
    @suranjanachattopadhyay4979 Рік тому +4

    Hi Shrayansh, waiting for you to cover the DB synchronization concept of Active-Active system.

  • @mayurranjan9185
    @mayurranjan9185 Рік тому +1

    When will you upload syncup video?
    I am eagerly waiting for that. And really thanks for your help 🙏

  • @harishdewangan-nu5tk
    @harishdewangan-nu5tk Рік тому +1

    Quality content delivered in simplest way 🫡

  • @anjumanislamiachhatarpur7093
    @anjumanislamiachhatarpur7093 Рік тому +1

    Nice explanation, understood the underlying concept.
    I have a question regarding the choice of CASSANDRA DB in Active-Active Architecture:
    As per the earlian lectures on the CAP theorem, Cassandra provides us high availability, and partition tolerance but not immediate consistency, on the other hand we have MONGO DB which provides Consistency and Partition Tolerance but not High Availability.
    Both are NoSql DBs and can be used for Multi-Master Architecture. So basically in our case how we are deciding which DB to choose in ACTIVE-ACTIVE architure.?
    Could you please reply in your mean time?

  • @suheabkhan2546
    @suheabkhan2546 Рік тому +1

    Maza aagaya

  • @tejasshaha6629
    @tejasshaha6629 Рік тому +2

    Let's say in Active-Passive DB-1 is down and we need to redirect traffic to DB-2 so here who takes care of redirecting traffic, is it manual process or some automated scripts are there ?
    Thanks sir for wonderful video ❤

  • @harshitagarwal2682
    @harshitagarwal2682 11 днів тому

    👍👍

  • @saurabhmittal6947
    @saurabhmittal6947 2 місяці тому

    isn't this a subset problem which we have already solved in design of key value store ?

  • @pulkitgupta4803
    @pulkitgupta4803 Рік тому +1

    in active passive when only read happens in DC2 DB how can we maintain data consistency or synchronisation between both DB as the sync only happens when write comes to DC2 DB

    • @ConceptandCoding
      @ConceptandCoding  Рік тому +2

      Generally these Disaster Recovery Data centre takes very very less traffic and also Synchronisation from Live(primary) to Replica happens very frequently but it always has the possibility of reading stale data.

  • @TsarVladolfPutler
    @TsarVladolfPutler 6 місяців тому

    What do you do when the Load Balancer itself fails?

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

    Excellent.. can you help me with which editor it is to draw architecture components?

  • @thedatasciencelingo1239
    @thedatasciencelingo1239 2 місяці тому

    hey Shreyansh , in active passive setup if my application does write and then immediate read there would a risk of data not synced by that time , so how do we reaolve these conflicts

    • @aakankashasharma1007
      @aakankashasharma1007 Місяць тому

      I also have the same doubt. @conceptandcoding can you please help?

  • @suhail_saifi_
    @suhail_saifi_ Рік тому +1

    aafreen, bro plz make video on prototype LLD with code

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

    Can we make Active Passive DBs in relational databases? how Oracle will replicate data to secondry db??

    • @ConceptandCoding
      @ConceptandCoding  Рік тому +1

      Yes in relational databases we can have Active Passive.
      ORACLE replicate data to secondary DB using OGG (Oracle golden gate) which help to transfer committed txns to multiple database.
      But it has one limitation that there can be delay of several minutes.

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

      @@ConceptandCoding Thanks for quick response. I am now a member :)

  • @piyushrana4693
    @piyushrana4693 8 місяців тому

    sir what happen if a load balancer itself goes down?

    • @ConceptandCoding
      @ConceptandCoding  8 місяців тому

      using Redunadncy and Failover mechanism it is resolved generally.
      Means, many load balancer with similar configuration are avaiable and there is a heartbeat check, if heartbeat check finds that the current load balancer is down, failover mechanism seemlessly transition from failed load balancer to new load balancer

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

    At times it is zoomed in and scrolling to the top ,so forgetting the full picture of flow

  • @sumitbasu5146
    @sumitbasu5146 Рік тому +1

    Number 200 viewer

  • @JatinDixit-vc3qi
    @JatinDixit-vc3qi Місяць тому

    Too much ads