Sizing the Roadside Buffer That Keeps Bridge and WIM Data Alive Through a Backhaul Outage
A roadside node that fuses weigh-in-motion axle records, bridge accelerometer streams and pavement friction readings fails gracefully only if its local storage outlasts the longest outage nobody can fix in time. The sizing model is one multiplication, peak ingest rate times worst credible outage, and nearly all the engineering lives in choosing those two terms honestly. Every figure below is an estimate meant to be replaced by your own site data.
Why the buffer is the redundancy
Duplicating the backhaul looks like the obvious fix, but on a rural viaduct the fibre and the cellular fallback often share the same conduit, the same cabinet power and the same excavator that cuts both. Local storage is the only redundant path that depends on nothing outside the cabinet. When the uplink drops, the node keeps sampling, keeps timestamping against its own disciplined clock and writes to flash, then drains the backlog once the link returns. That makes the buffer a safety element in its own right, because a gap in the resonance record during a heavy convoy is exactly the gap a structural engineer cannot reconstruct afterwards.
The calculation, carried once
Start with the ingest rate at peak, not mean: assume an estimated 2 kB/s aggregate once compressed accelerometer windows, WIM axle events and friction samples are multiplexed during rush-hour traffic. The second term is the outage you must ride through, and it is set by maintenance logistics rather than by the network SLA; for a cabinet that needs a crew dispatch over a long weekend, take an estimated 72 hours. Multiply the two and the node must hold roughly 0.5 GB of telemetry, itself an estimate that inherits the error of both inputs. The error bar is asymmetric. Ingest rate is measurable on site and tightens quickly after commissioning, while outage duration has a long tail driven by weather, access permits and spare parts, so it dominates the uncertainty and scales the result linearly: double the outage and you double the flash. Round up to the next industrial flash capacity and treat the margin as wear-levelling headroom, not spare space.
The failure that defeats the model
The model silently breaks when cabinet power dies in the same event that killed the uplink, because a flash write interrupted mid-page can corrupt the index of everything buffered so far, so the storage path needs hold-up energy sized to finish and commit the current block, plus a journaled layout that recovers to the last committed record rather than to nothing.
A rule for when the buffer fills anyway
Outages longer than the design case will happen, and the node should degrade by priority instead of by age. Drop raw accelerometer waveforms first, keep derived modal frequencies and damping estimates, and never discard WIM axle records or friction alarms, since those feed enforcement and winter maintenance decisions that cannot be repeated. Functional safety standards such as IEC 61508 give you the vocabulary to defend that ordering in a safety case, but they will not choose it for you. The decision rule: size flash for peak rate times worst credible outage, and write the eviction order into firmware before the first long outage forces someone to improvise it in the field.
Technical FAQ: Why not size for the mean ingest rate and rely on compression to cover the peaks?
Outages correlate with the conditions that raise ingest. A storm brings both link failures and the friction and vibration events you most need to keep, so the mean understates precisely the window the buffer exists to cover.