Sizing the Site Gateway So a Federated Biofoundry Survives Losing Its Uplink

When one site in a federated biofoundry loses its link to the scheduling broker, its liquid handlers and plate readers keep running. Everything they emit still has to land somewhere. Whether the run stays valid depends on the site gateway's local store, not on the cloud. Size that store from the telemetry rate and the longest partition you intend to ride out, and treat both inputs as estimates with wide error bars.

The failure that actually costs money

The expensive failure is duplicate execution, not lost data. Suppose the broker sees a site go silent mid-protocol and re-dispatches the assay elsewhere while the original site keeps pipetting from its own queue. You burn reagent twice and end up with two partial records of one experiment, and neither one meets GxP data integrity expectations under the ALCOA+ principles, because neither is complete and attributable on its own. The fix is architectural. The site gateway holds the execution lease for any run it has started, the broker can reclaim that lease only after the gateway confirms an abort or an operator explicitly releases it, and the gateway writes telemetry ahead to local non-volatile storage before forwarding anything. A gateway that drops telemetry when its buffer fills has quietly turned a network fault into a data integrity fault, and that is what this sizing protects against.

One calculation, end to end

Start from the parameter. A busy work cell streaming instrument logs, deck camera thumbnails, environmental sensors and liquid class events produces on the order of 40 kB/s of compressed telemetry per site. That is an estimate, and you should replace it with a measurement from your own deck as soon as you have one. Next, pick the longest partition the site must survive without human help: for a site with a single carrier uplink and no overnight staff, a reasonable estimate is twelve hours, covering a fault that starts after the evening shift and gets fixed in the morning. Multiply the two and the gateway must hold roughly 1.7 GB of journaled telemetry, also an estimate, plus the command queue and run metadata it caches, which are small by comparison. The rate dominates the error bar, not the outage: switching the deck camera from thumbnails to full frames can raise it by an order of magnitude, so treat the result as a lower bound and size the store for the high side of that bar, not the midpoint.

Why disk is not the hard part

Storage at that scale is cheap, so the real constraints are write endurance and power: a journaling gateway on consumer flash that loses power mid-write can corrupt the very buffer meant to protect the run, so the store needs power-loss protection and the gateway needs enough hold-up energy to close its journal cleanly.

The decision rule

Before a site accepts a remote run, its gateway should check that free protected storage covers the high side of the sized buffer for the full planned duration of that run, and if it does not, the site declines the dispatch instead of starting work it cannot finish alone. This moves the failure from mid-run, where it destroys reagent and records, to scheduling time, where it costs only a reroute. The cost is throughput: during imaging-heavy campaigns a conservative check makes sites refuse work, and the broker sees capacity it cannot use. The next decision is how to buy that capacity back. You can fit larger protected stores at every site, or you can downsample at the source, keeping raw images local and forwarding only derived metrics, which lowers the rate but makes the federated record depend on each site's retention policy.

Back to BiofoundryNet · Domains

← Back to BiofoundryNet
Engineering & Architecture Brief

Sizing the Site Gateway So a Federated Biofoundry Survives Losing Its Uplink

When one site in a federated biofoundry loses its link to the scheduling broker, its liquid handlers and plate readers keep running. Everything they emit still has to land somewhere. Whether the run stays valid depends on the site gateway's local store, not on the cloud. Size that store from the telemetry rate and the longest partition you intend to ride out, and treat both inputs as estimates with wide error bars.

The failure that actually costs money

The expensive failure is duplicate execution, not lost data. Suppose the broker sees a site go silent mid-protocol and re-dispatches the assay elsewhere while the original site keeps pipetting from its own queue. You burn reagent twice and end up with two partial records of one experiment, and neither one meets GxP data integrity expectations under the ALCOA+ principles, because neither is complete and attributable on its own. The fix is architectural. The site gateway holds the execution lease for any run it has started, the broker can reclaim that lease only after the gateway confirms an abort or an operator explicitly releases it, and the gateway writes telemetry ahead to local non-volatile storage before forwarding anything. A gateway that drops telemetry when its buffer fills has quietly turned a network fault into a data integrity fault, and that is what this sizing protects against.

One calculation, end to end

Start from the parameter. A busy work cell streaming instrument logs, deck camera thumbnails, environmental sensors and liquid class events produces on the order of 40 kB/s of compressed telemetry per site. That is an estimate, and you should replace it with a measurement from your own deck as soon as you have one. Next, pick the longest partition the site must survive without human help: for a site with a single carrier uplink and no overnight staff, a reasonable estimate is twelve hours, covering a fault that starts after the evening shift and gets fixed in the morning. Multiply the two and the gateway must hold roughly 1.7 GB of journaled telemetry, also an estimate, plus the command queue and run metadata it caches, which are small by comparison. The rate dominates the error bar, not the outage: switching the deck camera from thumbnails to full frames can raise it by an order of magnitude, so treat the result as a lower bound and size the store for the high side of that bar, not the midpoint.

Why disk is not the hard part

Storage at that scale is cheap, so the real constraints are write endurance and power: a journaling gateway on consumer flash that loses power mid-write can corrupt the very buffer meant to protect the run, so the store needs power-loss protection and the gateway needs enough hold-up energy to close its journal cleanly.

The decision rule

Before a site accepts a remote run, its gateway should check that free protected storage covers the high side of the sized buffer for the full planned duration of that run, and if it does not, the site declines the dispatch instead of starting work it cannot finish alone. This moves the failure from mid-run, where it destroys reagent and records, to scheduling time, where it costs only a reroute. The cost is throughput: during imaging-heavy campaigns a conservative check makes sites refuse work, and the broker sees capacity it cannot use. The next decision is how to buy that capacity back. You can fit larger protected stores at every site, or you can downsample at the source, keeping raw images local and forwarding only derived metrics, which lowers the rate but makes the federated record depend on each site's retention policy.

Related Architecture Specifications (BIOFOUNDRYHUB): synbionode.com · genelinkage.com · biodigitalstandard.com

More Technical Articles on biofoundrynet.com

Distributed Process Analytical Technology (PAT) for Real-Time Multi-Site Fermentation Monitoring →Data Sovereignty and Compliance Architectures for Cross-Border Synthetic Biology Networks →Sizing the Edge Spool That Keeps a Remote Assay Alive When the Federation Link Drops →Sizing the Local Journal for a Disconnected Biofoundry →