Why Cloud-First Thinking Fails on the Factory Floor
It's tempting to design an IoT system the way you'd design a web application: sensors send data to the cloud, the cloud processes it, done. That model breaks down the moment you're dealing with a factory floor with intermittent cellular coverage, a remote wind farm with satellite-only connectivity, or an oil rig where network drops are a daily occurrence rather than an edge case.
In these environments, connectivity isn't a constant — it's a variable that the architecture has to account for from the start. A system that assumes an always-on connection to the cloud will silently lose data every time that connection drops, often without anyone noticing until a report shows a gap.
Store-and-Forward: The Core Pattern
The store-and-forward pattern addresses this directly. Edge gateways buffer telemetry locally — writing to a local database or file queue — whenever the cloud connection is unavailable, then flush the buffered data once connectivity returns. Done correctly, this guarantees zero telemetry loss during network blackouts, which matters enormously when that data feeds predictive maintenance models.
The implementation details matter: buffer size limits need to account for realistic outage durations (a five-minute buffer is useless against a six-hour connectivity gap), and the flush process needs to handle out-of-order delivery gracefully so downstream time-series databases don't choke on backlogged data arriving all at once.
Protocol Translation: Bridging Legacy and Modern Systems
Most industrial environments run a mix of protocols that predate modern cloud infrastructure by decades — Modbus, OPC-UA, and proprietary PLC register formats are still the norm on factory floors. An edge gateway's job is often less about intelligence and more about translation: reading these legacy protocols and converting them into normalized JSON payloads that a modern MQTT broker or cloud ingestion API can consume.
This translation layer is also where data volume gets managed. Raw sensor polling can generate far more data than any downstream system needs; intelligent edge filtering — deduplication, threshold-based reporting, and local aggregation — cuts bandwidth and cloud ingestion costs without losing the signals that actually matter.
Security at the Edge Cannot Be an Afterthought
Industrial control systems (ICS) are attractive attack targets precisely because they control physical processes. TLS-encrypted tunnels between edge gateways and the cloud are table stakes, but hardware-level considerations matter too: physical tamper detection, secure boot on edge devices, and network segmentation that keeps operational technology (OT) networks isolated from general IT infrastructure.
Reliability and security aren't separate concerns in industrial IoT — a compromised edge gateway is also an unreliable one. Architectures that treat them as a single design problem, rather than bolting security on after the fact, hold up better under both network failures and adversarial conditions.




