Active-Active vs Active-Passive Cluster to Achieve High Availability in Scaling Systems

Поделиться
HTML-код
  • Опубликовано: 28 апр 2020
  • In this video I want to talk over the active active active vs active passive cluster failover configuration for high availability. We will also explain the pros & cons of using an active-active cluster vs using an active-passive cluster.
    2:25 Fail-over • Fail-over and High-Ava...
    🏭 Software Architecture Videos
    • Software Architecture
    💾 Database Engineering Videos
    • Database Engineering
    🛰 Network Engineering Videos
    • Network Engineering
    🏰 Load Balancing and Proxies Videos
    • Proxies
    🐘 Postgres Videos
    • PostgresSQL
    🚢Docker
    • Docker
    🧮 Programming Pattern Videos
    • Programming Patterns
    🛡 Web Security Videos
    • Web Security
    🦠 HTTP Videos
    • HTTP
    🐍 Python Videos
    • Python by Example
    🔆 Javascript Videos
    • Javascript by Example
    👾Discord Server / discord
    Support me on PayPal
    bit.ly/33ENps4
    Become a Patreon
    / hnasr
    Stay Awesome,
    Hussein
  • НаукаНаука

Комментарии • 31

  • @eestra2
    @eestra2 2 года назад +3

    Wow your explanation of complex network concepts into easy-to-understand videos are amazing! Keep up the good work!

  • @shivankbhardwaj6353
    @shivankbhardwaj6353 Год назад

    I loved your explanation. One good thing that I like about having Active-Passive for Cloud Workloads, you remediate the con of secondary backup server/service contributing towards your infrastructure price even if it's not running however with cloud for instance Lambda if that's your secondary server in Active-Passive, you will not be charged because you pay for what you use, i.e as AWS Lambda charges for execution and Duration only, if it's not getting triggered with request, you will not incur any cost and hence Active-Passive is really a great approach to maintain multi-region resiliency specifically in AWS Cloud.

  • @PasanArunajith
    @PasanArunajith Год назад +1

    You just perfectly explained everything 😊

  • @ErsinGokay
    @ErsinGokay 4 года назад +4

    Very good tutorial, thank you for putting this together and sharing with the audience. Very informative. Awesome job.

    • @hnasr
      @hnasr  4 года назад

      Glad it was helpful!

    • @albinantony17
      @albinantony17 3 года назад

      Is there any docs to implement this on my kubernetes???

  • @youssefjaadouni5086
    @youssefjaadouni5086 18 дней назад

    Hello Mr Hussein , can HAproxy and Keepalived be in the same server with app (node in this case ) ?

  • @psstream889
    @psstream889 Год назад

    Thank you for the easy explanation

  • @LK-uc9kh
    @LK-uc9kh 2 года назад

    Nice video to explain what active active is! Helped in my job caz I hv no technical background

  • @pepeshopping
    @pepeshopping 4 года назад +10

    You may want to learn better about how VIP addresses work. It is NOT REALLY through ARP, as the clients never see any change and the magic happens in the IP stack of the master and backup nodes:
    The master node will assign the VIP to its network card and put a IANA MAC address on it. Then it advertises itself as master, which the backup node will see and will know the master is still alive.
    When the backup node stops seeing the advertisements from the master node, it will then assign the VIP to its network card, with that same IANA MAC address.
    So it is NOT REALLY ARP, as the clients NEVER see a change in MAC address, but it is the Ethernet switch the ONE that knows which port has that IANA MAC address and simply forwards the packets there.

    • @hnasr
      @hnasr  4 года назад +3

      pepeshopping thank you so much! so it is at an even lower layer. I would agree the way you illustrated it is much more efficient since the clients VIP ARP will always point to IANA mac, and it is a matter of the switching at layer 2 to forward the packets to the right host which answers to IANA mac.. this way you don’t need to clear the ARP table..
      Ill do more research on the topic, I am pretty sure the research I have done was just one implementation of VIP and VRRP. Ill make a video to correct this, if you have more resources on this plz send them my way. Again appreciate you correcting me .. i love this ❤️

  • @VaibhavPatil-rx7pc
    @VaibhavPatil-rx7pc 3 года назад

    Excellent blog for better SE

  • @smmuthukumar
    @smmuthukumar 2 года назад

    Great video! Thank you. Is there any difference at all between Active/Active and Fault tolerant systems ? Both can involve ARP/VIPs and both involves stacking up servers for redundancy in general....

  • @user-qs8fz1sf5l
    @user-qs8fz1sf5l Год назад

    in aws what will be VRRP .. is it subnet value?

  • @a_k__
    @a_k__ 3 года назад +1

    Sorry I don't know much about reverse proxy what does it mean to terminate TLS and forward the traffic in @ 1:26 ?

    • @hnasr
      @hnasr  3 года назад +1

      I explain it here ruclips.net/video/H0bkLsUe3no/видео.html

  • @iDeveloper92
    @iDeveloper92 Год назад

    Great video

  • @neiliwael5536
    @neiliwael5536 2 года назад

    great tuto hussein thank you , can u tell me how can I become a member in the channel to watch all the content ? :D

  • @mohammadlahham1202
    @mohammadlahham1202 3 года назад

    great
    how about little bit of Quorem ?

  • @shafeeqr2
    @shafeeqr2 4 года назад

    If my understandig is correct, failover on active-passive may take a fraction of a second .i.e. the moment master node stops advertising, backup will assign itself the VIP and this process can take as little as milliseconds with keepalived. However, in the case of the active-active where the failover is being handled by the DNS server, it becomes dependent on the DNS's TTL value and can take much longer (recommended TTL is 30 seconds) to recover. By that logic, the failover handling becomes a disadvantage of the active-active. Would you agree?

    • @hnasr
      @hnasr  4 года назад +1

      Shafeeq Rabbani loved the comment for the deep analysis. 👍 good work..
      However your statement is only true in case of AA if ALL servers backed by the VIP goes down which is highly unlikely if you have too many servers.
      But sure if all servers behind the VIP goes down then the DNS will keep forwarding traffic to it until it discovers that its down which could be seconds to even minutes

  • @sajjadalaa
    @sajjadalaa 2 года назад

    when i configure my servers using nginx and keepalived my request goes to one server only ant help with that
    Note im using active active HA

  • @jjmayank
    @jjmayank 3 года назад +2

    I learnt more in 7 days here than 4 years of university x/

  • @charank7852
    @charank7852 4 года назад

    Hi ..my question is not related to this topic . My question is what is the difference between agile and devops? Can somebody follow both at same time ? Or should I follow only one ? Please reply I am totally confused.

    • @hnasr
      @hnasr  4 года назад

      Hey Charan! Good question, Long answer so Check out my youtube story I answered there.. ill also make a video about it

    • @charank7852
      @charank7852 4 года назад

      @@hnasr ok thanks

    • @charank7852
      @charank7852 4 года назад

      @@hnasr Hi thanks for video. What is the relationship between agile and devops ? Can one organization implements both agile and devops same time ? I have seen many people who claimed as devops engineers but they just doing system engineer / admin stuff and creating ci/cd pipelines. But they never do any code development. Please give me ur opinion on this present devops engineer roles ( who don't code at all ) ..

  • @mymna03
    @mymna03 4 года назад

    what if we have different haproxy in the different network ?

    • @hnasr
      @hnasr  4 года назад

      Salman Kalista its ok. The haproxy will have two network interfaces one public one internal

    • @mymna03
      @mymna03 4 года назад

      @@hnasr what i mean, how the both haproxy heartbeat works in different public network , different location , like DRC, because different network will causing problem for master and backup VIP.

  • @pallenielsen9433
    @pallenielsen9433 Год назад

    why do you clap in you videos!!