Apdex – a simple measure of happiness

Rabbit Hole #1

So, I was just poking around websites, checking out the source code as I do from time to time when I’m curious and noticed some New Relic JavaScript. I had not looked at New Relic for while, and I’ve never had the occasion to use the services, so I thought I’d check them out for a minute.

Side note

(Really quick context for people that have no idea what I’m talking about. On web pages, you can right-click, and from the menu choose to look at the source code. There you see JavaScript code, which is the part of the web page code that tends to make the page feel “fluid” and “dynamic”. It will send and receives data as you do stuff on the page. For instance, as you type in search fields, the results start showing up so you don’t have to hit enter. Or it might load more of the page and data as you scroll down. New Relic is a service that helps monitor those web pages for problems, using JavaScript code to gather and send information [errors, data, etc.] to their servers. They can then aggregate details report to the owners of the website. Go check it out. For those who need this service, I’m sure it’s very worth it. https://newrelic.com)

Rabbit hole #2

Back to the “Apdex” part of all this. As I hit the New Relic page, and scrolled, that term jumped out at me. I thought, “huh, ‘Apdex’, I’m not sure I know what that is…”, so, down another rabbit hole, I went. Turns out it is short for Application Performance Index. It’s this sort of beautiful little formula and metric at its core. Frankly,  in the first 10 seconds of looking into it, was reflecting just how rare it is to see something this simple.

It is a method of ranking an experience, from 0-1. Or, if you want to think of in percentages, 0-100%. Apdex.org clearly wants this to be more than just for web pages, but for the sake of tying this to my little research journey, think of this metric being used for websites. Specifically, how the user liked the experience using the site. So,

Apdex = ( Fully Happy + Content/2) / Total Visits

Taking a step back

Clearly, this isn’t going to be super illuminating in-depth information with lot s of details all on its own. Consider this though: Survey 100 people and most of them would give you an answer to “how satisfied are you”. Intuitively, I wanted there to be more to this equation when I first saw it, but it grew on me.  This detail over 100 visits an hour would be very illuminating. Especially over time or as new changes were made to the site. And perhaps comparing from page to page, you’d find a clear dip on a page or two.

Convinced?

Alright, at this point you probably either agree with me, or you don’t. Or you just don’t really care. Hey! We can take that Apdex!

Let’s say 5 people agree, 3 people don’t, and 8 readers got this far but are kinda bored.

56.25% = ( 5 + 8/2 ) / 16

Hmm, not a great score… I’ll have to add some memes next time.

Leave a Reply

Your email address will not be published. Required fields are marked *