What does Single-Host Hot Migration and the Ten-Second Contract conclude, in numbers, about “The Classical Sources Examined: "When a Course Runs Out, Change" and the Ship of Theseus”?
Answer: Chapter 7 examines "when a course runs out, change; changing, it opens a way; open, it endures" and the ship of Theseus, with expand-contract raising the best change frequency to 52.7 a year.
Scope of the numbers: Examples use fictional names, parameters are illustrative, and all calculations come from the book's programs, which connect to no server. Marked boxes separate published evidence, runnable Python calculations (22 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 52.7
| c = expected outage per change in seconds; L in minutes a year | |||||||
| policy | c | f=4 | f=12 | f=52 | f=260 | f* | L* |
| big-bang | 280.600 | 227.0 | 125.6 | 259.2 | 1219.1 | 13.3 | 124.9 |
| expand-contract | 17.985 | 209.5 | 73.0 | 31.6 | 81.1 | 52.7 | 31.6 |
| ten-second path | 0.650 | 208.4 | 69.6 | 16.6 | 6.0 | 277.4 | 6.0 |
| never changing: L grows without bound as f -> 0 |
Show the full program
# Chapter 7. p72: "when a course runs out, change": how often to change.
# Model: a system changed f times a year pays c seconds of expected
# outage per change (bad share 0.05 times the outage per bad release
# from p32: big-bang 5612.0 s, expand-contract 359.7 s; and 13 s for a
# release that always meets the fast path). Not changing also costs:
# fixes pile up and the exposure grows with the age of the running
# version, giving a yearly loss K / f with K = 50000 s (illustrative).
# Total yearly loss L(f) = c f + K / f is least at f* = sqrt(K / c),
# where L* = 2 sqrt(c K). Cheaper changes make frequent change right.
import math
K = 50000.0
BAD = 0.05
POLICIES = (("big-bang", BAD * 5612.0), ("expand-contract", BAD * 359.7),
("ten-second path", BAD * 13.0))
FREQS = (4, 12, 52, 260)
print("c = expected outage per change in seconds; L in minutes a year")
print("%-15s %7s " % ("policy", "c") +
"".join("%8s" % ("f=%d" % f) for f in FREQS) + "%7s %7s" % (
"f*", "L*"))
for name, c in POLICIES:
cells = "".join("%8.1f" % ((c * f + K / f) / 60.0) for f in FREQS)
fstar = math.sqrt(K / c)
print("%-15s %7.3f %s%7.1f %7.1f" % (
name, c, cells, fstar, 2.0 * math.sqrt(c * K) / 60.0))
print("never changing: L grows without bound as f -> 0")Single source and citation
Fan, Y. (2026). Zero-Downtime Hot Migration and Rollback on Multi-Container Single Hosts: Lossless Schema Evolution behind a Shared Tunnel and a Ten-Second Stop-the-Bleeding Contract (Version 1.0.0), Chapter 7: The Classical Sources Examined: "When a Course Runs Out, Change" and the Ship of Theseus. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-269 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026269,
author = {Fan, Yafu},
title = {Zero-Downtime Hot Migration and Rollback on Multi-Container Single Hosts: Lossless Schema Evolution behind a Shared Tunnel and a Ten-Second Stop-the-Bleeding Contract},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Blue-Green Is Not Zero Downtime: the Interruption Window Set by Health Checks, Failure Thresholds and Connection Drain
- Chapter 2 · Expand-Contract Migration: the Rollbackability Graph and Pushing Irreversible Steps to the End
- Chapter 3 · The Availability Markov Chain: How Repair Time Eats the Yearly Budget
- Chapter 4 · Many Containers on One Host behind a Shared Tunnel: Common-Cause Failure, Reconnect Backoff and Memory Headroom for Dual Running
- Chapter 5 · Lossless Evolution of a Production Database: Backfill Pace, Dual-Write Verification and the Write-Freeze Window
- Chapter 6 · The Ten-Second Stop-the-Bleeding Contract: Convolving the Time Budget, False and Missed Alarms, and the Rot of Rollback Paths
- Chapter 8 · The Empirical Loop: a Local Drill Checklist, the Hot-Migration Interruption Window Calculator and a Pre-Registered Test