Huang Goodman

Technology library / Technical assurance

How to measure what cloud computing really costs

The bill says what you spent. It doesn’t say what you got. Measure a day, divide by results, and look for the surprise. Ours was storage.

Measure one ordinary day

Requests, processor seconds, and every storage read and write. Ours, 30 November: 309,623 requests and 8,727 processor seconds, about 28 milliseconds each, across 41 workers.

Separate people from machines

Crawlers, health checks and your own tests can be most of the traffic. Count them, then set them apart, or your cost per customer is fiction.

Find the operation that scales with nothing

Counters written on every request are the usual culprit. In our case storage operations cost more than all the computing, so writes are batched and hot reads are cached.

Divide by a useful result

A request is not a result. Choose one: an answered question, a checked figure, a completed order. Report cost per one of those.

Put energy beside money, and label it

If your provider reports energy, use it. If not, estimate from processor time and write “estimate”. Ours is about 24 watt-hours a day by that method, excluding shared overhead.

Limits

One account on one platform. Your surprise will be somewhere else.

Open it yourself

Works with