Sitemap

On availability

5 min readJan 27, 2016

--

I’ve been paying my bills delivering software products for over 15 years. Usually, the first part of my job is to develop (or lead the development) of “internet-accessible” stuff, ranging from (simple) web apps to more complex software development tools and APIs. This is where I have to make sure the product does what it’s supposed to do, as efficiently as possible, for the agreed-upon price. The second part of my job is ensuring the software continues to work as expected, for the agreed-upon support fee, all the time.

The first part is fun. It can even be glamorous. Awards are given. Crowds applaud. Strangers want to shake your hand. Important people start talking to you. Journalists have to spell your name correctly and write it in bold. For a brief period of time, all of this feels awesome. Then it fades away…

The second part of my job isn’t nearly as fun. It includes far less glamorous activities such as maintenance, support, infrastructure management, etc. But most importantly, it includes availability, which directly influences perception if the product works as expected.

The obvious question is: “as expected by whom?”

Defining availability

Most project managers, especially those working in digital marketing industry might promptly answer: “the product should work as expected by the client.”.

Wrong!

Why? Consider the following question:

“If a tree falls in a forest and no one is around to hear it, does it make a sound?”,

which, in our case, roughly translates to:

“If an app stops working outside business hours, does it become unavailable?”

Since the answer is obviously “yes”, I hope we agree that the client is not to be trusted with evaluating availability.

—

OK … “As expected by whom”, then?

The users? Let’s rephrase our question:

“If an app stops working and no one is using it, does it become unavailable?”

As surprising as this may seem to engineers, the answer is actually “no”, because according to theory, availability is defined as “the degree to which a system is in a specified operable and committable state at the start of mission, when the mission is called for at a random point in time.”

In other words: if we get the app up & running by the time the next user tries to access it, availability won’t be affected (regardless of the actual downtime).

Great. Now we understand what availability means and why the end-user is the absolute authority when evaluating it. How do we manage it?

In order to manage anything, we first need to understand how it works.

Understanding availability

Let’s say we have to support a Facebook app that retrieves data from external (web) server and displays it on client’s Facebook page. This is a very simple example, which should be easy to understand by readers without a technical background. I hope.

Here are the key activities affecting availability and making the whole thing work:

  1. Setting up our client’s Facebook page correctly, along with Facebook app configuration (endpoints, permissions, etc)
  2. Registration and configuration of the domain used by FB app’s endpoints
  3. Web server configuration and SSL certificate setup (required by FB apps)
  4. Web app’s initial code, as developed by team A
  5. Web app’s updated code, as maintained (supported) by team B (A = B for smaller projects)
  6. FB app’s content (media, copy, etc.) and analytics
  7. Database/storage management system configuration, which is responsible for feeding and capturing data from/into web app
  8. SMTP server, responsible for distribution of system generated e-mails (e.g. confirmation/activation e-mails, admin notifications, etc.)
  9. Server’s operating system, on top of which all of the above services are running
  10. All of the underlying infrastructure, which ensures our server is running smoothly with uninterrupted network connectivity (the data center)

As we can see, at least 10 components of our product have to be working to satisfy the end-users’ demands for availability. If any of them fails, our product becomes unavailable. We now have to define responsibilities of all parties involved, assuming the agency is doing “all the work” on behalf of the client while outsourcing all technical activities to its partners.

Get Gregor Beslic’s stories in your inbox

Join Medium for free to get updates from this writer.

I) The agency is responsible for:

#1: Setting up client’s Facebook page and FB app’s configuration

#2: Registration and configuration of the domain used by FB app

#3: Purchasing (and extending) the SSL certificate required by web server’s virtual host

#6: FB app’s content and analytics

II) The development/support team is responsible for:

#3: Setting up the web server and SSL certificate configuration

#4: Web app’s initial code

#5: Web app’s upgrades & bug fixes

#7: Configuring adequate database/storage resources

III) The devops team (datacenter) is responsible for:

#7: Configuration and maintenance of database/storage management system

#8: Configuration and security of the SMTP service

#9: Installation and maintenance of the underlying operating system

#10: Availability and performance of all the underlying infrastructure (e.g. networking, power supply, internet connectivity, scheduled backups, etc).

—

As shown in the example above, ensuring availability is shared between 3 different teams. For any project/product manager this is bad news, since it creates a shared responsibility situation between three (or more) different parties.

What’s wrong with shared responsibility? Well … have you ever tried sending an e-mail to a number of people asking them to resolve an issue by putting everyone in the TO field?

Spoiler alert: nothing happens.

Monitoring availability

Even if you’re not a parent, you’re probably familiar with a device called baby monitor. We all know what it does … it notifies “an adult” (the observer) if the baby (the observant) starts crying. When such an incident occurs, the adult is expected to take appropriate action in order to comfort the crying baby.

For all of you that are yet to experience all joys of parenthood, here’s a #protip: there is absolutely no correlation between having been notified about baby’s discomfort and making the baby stop crying.

But that’s fine. As long as you take responsibility of being aware about the baby’s discomfort, you’re bound to take some action if you aren’t able to resolve the situation yourself. If you’re babysitting, for example, you’re probably going to text the baby’s parents and maybe even call them if they don’t respond within 15 minutes.

In product management terms, this means you will escalate the issue within the alert group and make sure it gets resolved. Upon resolving, you will try to take all appropriate measures to prevent it from happening again.

From theory to practice

This is where things get a bit tricky, since our app’s availability depends on three (or more) teams, each of them living in their own “little universe”.

The agency staff will monitor if up-to-date content is being served, the development team will make sure that the latest code builds have passed the tests and the infrastructure team will monitor if the web server correctly responds to ports 80 and 443.

Although these team-specific monitoring activities are useful and absolutely necessary, they are far from enough. Remember, our app’s availability is evaluated by end-users, not the project’s teams.

But in reality, developers will mostly rely on their code/build tests, devops will always trust their Nagios monitoring and (agency) employees rarely have the time to test things through every day (and more than once).

I have eventually realized that this attitude will never change. Monitoring individual components is not enough, because availability should be monitored on the product level with empathy towards the end-user.

And that’s your job.

Conclusion

If you want to manage a product, you have to own it. This doesn’t mean you own it in a legal sense, but that you take responsibility for its well-being on all levels, as if you were babysitting a child. And the older they are, the more trouble they can get themselves into.

--

--