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

  Рет қаралды 34,811

Hussein Nasser

Hussein Nasser

4 жыл бұрын

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 жыл бұрын
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 Жыл бұрын
You just perfectly explained everything 😊
@VaibhavPatil-rx7pc
@VaibhavPatil-rx7pc 3 жыл бұрын
Excellent blog for better SE
@ErsinGokay
@ErsinGokay 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???
@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
@iDeveloper92
@iDeveloper92 Жыл бұрын
Great video
@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....
@youssefjaadouni5086
@youssefjaadouni5086 3 күн бұрын
Hello Mr Hussein , can HAproxy and Keepalived be in the same server with app (node in this case ) ?
@user-qs8fz1sf5l
@user-qs8fz1sf5l Жыл бұрын
in aws what will be VRRP .. is it subnet value?
@a_k__
@a_k__ 3 жыл бұрын
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 жыл бұрын
I explain it here kzfaq.info/get/bejne/fpaSnq-kusuXnqM.html
@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
@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
@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 жыл бұрын
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
@mohammadlahham1202
@mohammadlahham1202 3 жыл бұрын
great how about little bit of Quorem ?
@pepeshopping
@pepeshopping 4 жыл бұрын
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 жыл бұрын
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 ❤️
@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.
@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 ) ..
@jjmayank
@jjmayank 3 жыл бұрын
I learnt more in 7 days here than 4 years of university x/
@pallenielsen9433
@pallenielsen9433 Жыл бұрын
why do you clap in you videos!!
Fail-over and High-Availability (Explained by Example)
19:21
Hussein Nasser
Рет қаралды 56 М.
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 16 МЛН
Proxy vs Reverse Proxy (Real-world Examples)
5:17
ByteByteGo
Рет қаралды 532 М.
Active Active vs Active Passive High Availability Cluster
5:28
Is there a Limit to Number of Connections a Backend can handle?
18:43
Hussein Nasser
Рет қаралды 32 М.
More POWER for my HomeLab! // Proxmox
17:49
Christian Lempa
Рет қаралды 76 М.
Proxy vs Reverse Proxy Server Explained
14:18
Hussein Nasser
Рет қаралды 130 М.
PostgreSQL HA High Availability Tutorial
19:04
High-Performance Programming
Рет қаралды 45 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 63 МЛН
Лазер против камеры смартфона
1:01
Newtonlabs
Рет қаралды 736 М.
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 139 М.