Metrics are those pesky little numbers we like to keep an eye on to see how we’re doing. Website performance may be full of lots of jargon and fancy terminology but in the end the purpose is the same. Watch the numbers to know how we’re doing.
If you follow the economy you’re probably familiar with GDP or Gross Domestic Product tells you the total amount of goods and services that a country produced. What about the CPI or Consumer Price Index, well that measures the price of a so-called basket of goods. Those are intended to be goods everyone must have, such as food & beverages, housing, apparel, transportation, medical care and so forth. By measuring the CPI we get a sense of consumers buying power or how far the dollar goes.
If you follow sports, you’ve probably heard of a players batting average which is hits divided by at bats. A simple ratio, gives a picture of the players past performance. Another statistic is the RBI or runs batted in, which tells you how many times the player caused runs to be scored.
Taken generally metrics give us a quick view of a more complicate picture. Performance metrics for websites are no different. For instance if we’re looking at the business or application level, we might keep track of things like:
- user registrations
- subscriptions sold
- widgets sold
- new accounts sold
- user & social interactions
- ratings and other gamification stats
So too at a lower level we can capture metrics of the systems our web application runs on top of with tools like Cacti, Munin, Ganglia, Zabbix, or OpenNMS. The basics include:
- cpu utilization
- network throughput
- disk throughput
- memory usage
- load average
And further down the stack we can keep metrics of are database activity such as:
- buffer pool usage
- files & table I/O
- sorting activity
- locking and lock waits
- queries per second
- transaction log activity
By tracking these metrics over time, we can view graphs at-a-glance and see trends. What’s more folks from different sides of the business, can get visibility into what others needs are. Business teams can see server loads and operations people can see real revenue and income. That brings teams together to a common goal.