Sizing the Edge Spool That Keeps a Remote Assay Alive When the Federation Link Drops
When the WAN link between a biofoundry site and the federated scheduler breaks, the cells in the incubator don't stop growing. The run can only survive if the site can execute, record and later reconcile everything on its own. So the component to size first is the edge spool: local storage that absorbs telemetry while the cloud is unreachable and replays it in order once the link returns. This piece sizes it with one calculation carried from input to output, with every figure labelled as an estimate.
The failure we are designing for
The failure that matters most is a network partition during a long assay, not a robot fault. The site keeps pipetting, reading and incubating, but the federation layer loses sight of it. If the scheduler reads that silence as a dead site and sends the assay to another node, you get the same biological experiment run twice, with two competing records and reagents spent twice. The fix is lease-based ownership. The site holds a time-bounded lease on the run, the cloud may not reassign it until the lease expires, and the local orchestrator gets full authority to finish the run or park it in a safe state without asking anyone. That authority is only real if the site can store everything it would normally have streamed.
One calculation, end to end
Take the aggregate telemetry rate of a single work cell as the governing parameter: about 40 kB/s (estimate), covering liquid-handler event logs, plate-reader frames, environmental sensors and the orchestrator's state journal, with most of the volume coming from imaging. The second input is the longest outage you are willing to ride through without aborting: about 8 h (estimate), which is roughly how long a typical overnight culture step lasts, so a partition that starts after hours doesn't kill the run before anyone arrives. Multiply them and you get 40 kB/s times 28,800 s, about 1.2 GB per cell (estimate). The error bar is wide, about a factor of two either way, because imaging cadence dominates the rate and changes with the protocol. Size against the upper bound, and give the spool its own write-endurance budget, because it fills and empties on every outage, so wear accumulates faster than average throughput suggests.
Not all bytes deserve the same protection
If the spool comes up short, don't let it overwrite in a ring. Degrade by tier. The event and audit journal has to be lossless, because electronic-records rules in the GxP family require a complete, attributable audit trail, and a gap there can invalidate the run even when the biology worked. Sensor channels can be decimated, and image frames can be dropped to keyframes or stored as derived metrics once a capacity threshold is crossed. Done this way, a spool sized for the mean rate still protects what the regulator and the reconciliation logic need, and the rich data takes the loss.
The decision rule is this: if spool capacity divided by the worst-case telemetry rate is shorter than the lease duration, either add storage or shorten the lease, because a site that runs out of buffer before the cloud is allowed to take over the run ends up both orphaned and unrecorded.
Technical FAQ: Why not just make the lease short so the cloud can reassign quickly?
A short lease brings back the double-execution risk. With a flapping link, the scheduler reassigns a run that is still alive, and two sites end up consuming the same samples. The lease should cover the outage you have already sized the spool for, and fast recovery should come from replay and reconciliation, not from early reassignment.