VELANORIS.PERSONAL LAB
← All notes

INFRASTRUCTURE / NOTE 01

Designing for failure

A practical note on boundaries, failure modes and recovery.

Start with failure modes

A service is more than its happy path. Identify what happens when a dependency times out, storage fills up, or a process stops. Record the impact before choosing a mitigation.

Separate responsibilities

Keep administrative access separate from public interfaces. Give each component a clearly defined responsibility and only the permissions it needs.

Make recovery a routine

Maintain a reproducible configuration, document rollback steps and test restoration before relying on backups. A health check is useful only when its scope and limitations are understood.

Define a recovery target

Imagine a small documentation site. If its web process stops, a restart may restore service in under a minute; if the host is lost, the recovery path needs a second machine and a tested copy of the content. These are different failure domains. Set an RTO (time to recover) and RPO (acceptable data loss) for each. For static content, an example target might be 30 minutes and one published revision. These are illustrative targets, not measured results.

Test the recovery path

On a disposable copy, remove a generated asset or stop a test backend. Confirm that the monitor detects the intended failure, not merely that the host responds. Restore the artifact from a known release and verify a real page, status code and content. Record the observed time and compare it with the target. Avoid injecting failures into production without a planned window.

Back to journal →