Single Point of Failure (SPOF) and Failover

Identifying and eliminating critical weak points where a single failure halts the entire system (SPOF), and automatically switching operations to a standby node (Failover) to survive outages.

General Meaning

A Single Point of Failure (SPOF) is any component—such as a single database, a lone master server, or a single network link—whose failure brings down the entire system.

Failover is the defensive mechanism that prepares a redundant standby node in advance and automatically or manually transfers active workloads to that standby when the primary node fails, minimizing total downtime.

Why It Matters

  • Achieving high availability: Keeps operations running with zero or minimal interruption during hardware faults, OS reboots, or power blips.
  • Simplifying planned maintenance: Allows one machine to be rebooted or serviced while peers smoothly take over its duties.
  • Rooting out hidden coupling: Auditing SPOFs exposes hardcoded local paths and implicit single-machine dependencies, making the architecture cleaner.

How the Site Factory Uses It

The Site Factory runs a dedicated initiative called *datsumini* ('de-mini-fication') to distribute management roles formerly concentrated on a single Mac mini across Studio 1 and Studio 2: (1) Redundant management roles, installing identical LaunchAgents for all 4 management roles (patrol, macgakari, unkou, and site patrol) on all 3 Macs with D1 service leases for Active-Standby operation; (2) Inference offloading, routing heavy mini-queue LLM extraction and island generation tasks to Ollama on idle Mac Studios to protect Mac mini's memory; and (3) Deployment credential distribution, provisioning the honbu-cloudflare-deploy keychain token across all 4 Macs (Mac mini, Studio 1, Studio 2, MacBook).

In accordance with the Site Factory's strict honesty rules, remaining SPOFs—such as the 13 GitHub self-hosted runners on Mac mini and the end-to-end failover trial from stopping an active management role to Studio takeover—are explicitly documented as incomplete rather than claimed as finished.

Caveats & Operational Rules

  • Never confuse 'code implemented' with 'verified failover': Having lease code written does not guarantee smooth takeover when a power cord is pulled; the Site Factory explicitly marks end-to-end failover verification as incomplete until proven on hardware.
  • Prevent duplicate execution during failover: If a standby takes over while the primary is still alive, both nodes will run the same job unless fenced by D1 leases and generation tokens.
  • Remember upstream infrastructure SPOFs: Three Macs still share a home router; after a wired router port glitch knocked out HTTPS across all three machines simultaneously, the Site Factory documented dual Ethernet/Wi-Fi fallback and router recovery steps.

Related Terms

References

  • Book: Mark Richards & Neal Ford, *Fundamentals of Software Architecture*, Chapter 9; Martin Kleppmann, *Designing Data-Intensive Applications*

Verified: 2026-11-08