Fork me on GitHub

How to measure the availability of your product ?

Written by Aravind H.U on Jun 6, 2019

Dear readers, In the post "Techniques to build applications with high availability", I described various techniques to increase availability of your application. One of the techniques that I described there is creating a Risk matrix

One of the first and foremost step in creating Risk matrix for scalability perspective is to measure the availability of your product

Site availability can be calculated by below formulae


Let me take an example to show you how to use this formulae

In the month of May 2019 your product "Awesome product" had a down time of 30 minutes in the first week, and 18 minutes in the last week of may. Now lets calculate the availability percentage of your "Awesome product"

TOTAL_SECONDS_SYSTEM_DOWN = (30mins * 60secs) + (18mins * 60secs) = 1800secs + 1080secs = 2880 secs

TOTAL_SECONDS_IN_MEASURING_PERIOD = 31days * 24hrs * 60mins * 60secs = 2678400 secs

AVAILABILITY_PERCENTAGE = ( 2678400 - 2880 ) / 2678400 = 0.998924731182796

We got to convert this to percentage by multiplying this with 100

So the availability percentage of your "Awesome product " is 99.89247311827957%

So what does this mean ? your "Awesome product" availability is some what 99.89% in the month of May 2019

Don't get so impressed about your product, because it comes with 48 mins of downtime every month which is actually not so great availability :)

If you consume AWS cloud objects and have gone through the documentation of AWS you often see amazon assures 99.9999% availability you might get a weird feeling ( like the way I got ) why amazon is so possessive in expressing there availability with 4 digit precision ? . They are actually not possecive they are actually letting you know that in a month any AWS cloud objects will have 2.6 seconds of downtime, this is some thing you can expect from AWS and it is not 100 percent .

Just in case if they claim or any SAAS product claim, you can literally sue them legally in the court for false claim based on the impact you had on your bussiness . AWS is just too carefull in posting these numbers

Thats one of the reasons why SAAS products comes with an SLA (service-level agreement ). Good SAAS products claim what they actually are, they don't false claim to sell there license.

I hope you enjoyed reading this, I promise I am not criticising any one here I am just opening up the facts in front of you.

Share this:


I hope that you won’t object if I occasionally use contractions and the less formal “you” instead of “one” in my posts presented here. That makes writing it easier for me and ensures a less formal atmosphere.

I attempt to post articles here as carefully as possible, but I cannot guarantee absolute freedom from errors in general at this time. Please bear with me. If you would like to help me please contact me

The information contained in this website is for general information purposes only. I try to keep the information up to date and correct, I make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose.

Any reliance you place on such information is therefore strictly at your own risk.