← All posts

How many nines does my home server need?

How annoyed would you be if your home server stopped working until tomorrow? It depends what you needed. An evening without streaming is inconvenient. Losing access to passwords or heating is a different problem.

Zebra is my Kubernetes cluster. Family use its photo library and Jellyfin, our only streaming service. My wife and I depend on Vaultwarden for passwords. Email is especially disruptive to lose. For a complete outage, an hour is tolerable but unwelcome; a day brings family calls. Those are my tolerances, not a measured service guarantee.

That's where availability work should start: what someone needs to do, how long it can wait, and what might prevent it.

What the nines buy

An availability percentage needs a measurement period and a definition of "working". For these examples, I count all downtime, including maintenance, over a 365-day year. Google's service-level objective guidance explains the measurement choices.

99% allows about three days and sixteen hours offline per year. That might suit something non-urgent you can repair when you have time. It would be a poor description of my family's expectations if I spent the allowance in one go.

99.9% allows about eight hours and forty-six minutes per year. Over a 30-day month, the allowance is only 43 minutes and 12 seconds. You can't spend the annual budget in one month and still meet the monthly target.

99.99% leaves about 53 minutes a year; 99.999% leaves about five. At that point, detecting and recovering from failures quickly becomes essential. Shared power, storage, and access dependencies deserve attention before another application replica.

More nines cost equipment, maintenance, and attention. The right target depends on the activity. One long outage and lots of brief interruptions can fit the same percentage while being quite different to live with.

Downtime and lost data are different choices

A recovery time objective, or RTO, describes how quickly I want useful service restored. A recovery point objective, or RPO, describes how much recent data I can tolerate losing, expressed as time. Neither is a result until a recovery demonstrates it.

Losing the photo collection is unacceptable to me. Losing last night's server-side uploads can be tolerable if the originals remain on client devices. Recent source-code changes have a similar distinction. That fallback depends on those devices surviving and retaining the data; it isn't a guaranteed one-day RPO.

Vault contents, identity state, and recovery keys matter too. My preferred service order isn't automatically the technical restart order: restoring photos may first require storage, database backups, and access to keys.

Useful operation -> network -> application -> data

When it fails:
  surviving path, or independent access + restore

Spend effort on the weakest part

Almost everything I store shares one building, much of it one room. I have UPS coverage, but no automatic safe shutdown when the batteries run out. Heating has no established independent fallback. Those household dependencies matter more than an impressive replica count.

I've tested node and power failures and recovered services. I still need clearer evidence for whole-room recovery. More frequent backups won't fix an unreadable copy or a missing key.

The service failure cases explain which controls address which interruptions. Data-loss scenarios cover losing the room or the copies, while backup failure checks cover a recovery process that lets me down.

Start with what can wait, handle the worthwhile failures automatically, and test the way back from the others. I'm happy to accept some downtime where avoiding it would consume more attention than the service deserves. The extra nines won't look after themselves.

← Back to the notebook