← All writing

A status page on 1,000 writes a day

Cloudflare's free plan gives you 1,000 storage writes a day. My status page checks 16 sites every 5 minutes and uses 288 of them. Here's the maths I did before writing any code.

·2 min read·Updated 19 October 2026
The FleetWatch status page: every site up, with its uptime and a latency chart for the last 24 hours.

Would I even notice if one of my websites went down? I wasn’t sure, so I built FleetWatch: it checks my portfolio and my web apps every 5 minutes and shows the results on a public status page.

The always-on part runs on a Cloudflare Worker, on the free plan. And the free plan has one limit that shaped the whole design.

The limit: 1,000 writes a day

The Worker keeps a history of every check in Workers KV. On the free plan, KV allows 1,000 writes a day. Reads are cheap (100,000 a day), writes are not.

So before writing any code, I did the maths for 16 sites checked every 5 minutes (288 times a day):

Approach Writes a day Fits?
one key per site, every 5 minutes 16 × 288 = 4,608 no
one key per run, every minute 1,440 no
one key per run, every 5 minutes 288 yes, 29% of the limit

One value holds everything

So the whole history lives in a single value, written once per run:

  • every check from the last 24 hours (288 points per site, for the chart and the 24-hour uptime)
  • one bucket per hour for 7 days (168 buckets per site, for the 7-day uptime)

That’s about 138 KB for 16 sites, far below KV’s 25 MiB limit for one value. And the nice side effect: adding a site adds no writes at all. It just makes that one value a little bigger.

When a limit counts operations, put more into each operation.

Two more details that keep it free

  • A page view is one read. The status page reads that single value and draws everything from it.
  • Status codes only. The free plan gives a Worker about 10 ms of CPU per run. Reading 16 whole web pages would blow through that, so the Worker reads each site’s status code and cancels the rest of the response.

The other half

FleetWatch has a second half I can run myself: a small Python probe with no dependencies, Prometheus with alert rules (tested, so I know they fire), Alertmanager and a Grafana dashboard, in Docker Compose or on Kubernetes with a Helm chart and Terraform. That half is where I learned DevOps properly.

But the part I’m proudest of is the small one: a status page that has run every 5 minutes, for free, because I counted the writes first.

The code is on GitHub.