Xaprb

Stay curious!

Archive for October, 2010

All measurements are wrong

with 5 comments

I had the privilege to meet Neil Gunther and listen to him speak this week at Surge. During his talk, he brought up the point that all measurements are wrong by definition. I thought I knew what he meant, but I was stuck with tunnel vision about floating-point precision and such. I had it all wrong. The real answer is obvious and simple.

The point is that the process of measuring, and therefore the answer that comes out of the measurement process, is imprecise. And further, that we need to treat a measurement as a measurement, not as the true value of whatever it is we tried to measure. So although we may say “the CPU was 70% utilized,” we should really be thinking “the measurements of CPU busy-time totaled 70% of the measurements of elapsed-time.” There’s more, but I won’t repeat his whole talk. You might enjoy his book.

Neil mentioned that this way of thinking isn’t foreign — we learn it in physical sciences. Indeed, I immediately remembered all my chemistry and physics labs, and mechanical engineering classes, and…. But that’s a whole education away now. Somehow between then and now, I educated myself to think that computers manipulate numbers, and the numbers are somehow mathematically pure.

When computers store and retrieve numbers, that’s often imprecise, and that is continually present in my mind — but that’s a whole different matter.

Written by Xaprb

October 2nd, 2010 at 1:47 pm

Posted in Coding

Tagged with ,

Why measure pageviews per month?

with 2 comments

I don’t get why companies talk about how many pageviews they get per month. Maybe it is a handy metric when thinking about revenue, but when thinking about performance, it’s not a convenient way to measure.

For example, “we get 50M page views per month.” Let’s translate that into something useful for an engineer: 20 page views per second. How about 2.5B pageviews per month? Roughly 1000 per second.

Much easier to think about what this means. And not so impressive.

Written by Xaprb

October 1st, 2010 at 10:11 am

Posted in World Wide Web