Yes, It is another foreign term I tried to wrap my head around!
What is high availability?
Bruhhhh... what is availability in the first place?
Hospital 🚑🚑🚑....
Think of it as a hospital nearby. We see a sign 24/7 which states that it is open to patients 24hrs/day and 7days/week. Basically, it is open all the time.
Same applies to our server. It should be open to requests 24/7 as simple as that.
Now you would say, yeah yeah... I have a simple blog and it is open 24/7, what's the big deal?
Hmmm....🤔
How many visitors you get a day? like 200 or may be 3000 at max?
What about facebook or instagram? How many visit them a day? may be like 10 million or 100 million per day through out the world!!!
They might definitely be using a load balancer not just one, may be 1/country or more than that.
Due to any reason, if the fb/instagram is down. let's say not available we jump to either youtube or twitter and the Meta lose their customers and obviously revenue💰
More or less Availability is the bottleneck to either survive in the tech or sink in 🫤
High Availability is much more important to succeed in tech.
Now you know the importance let's dive in to know, what can we do to achieve high availability
1. Redundancy & Replication
Again a term I've never heard of before...
Redundancy: Simply having a spare phone in-case if you lost your 📱
Just like that, we take the critical components of our server or server itself and make copies of them in spare, to utilize if we lose the running component.
Replication: All the pics you take from phone camera are sync'd to your google drive/iCloud storage. Just to make sure if you lose your phone, you won't lose your pics. You can get them from the storage.
Same applies where we make copies of the data we store in our db, just to make sure we don't lose it due to any reason.
Anddd... this post is getting too.. big and I'm losing interest.
I think you are losing it too.
I will write a new post about other possiblities to achieve high-availability.
Until then, would appreciate any comments or feedback on this post
PS: This post is a part of SillySystemDesign in which each post gives very silly way to understand a complicated concept🫡
Top comments (0)