r/IndustrialAutomation • u/guyiran • 2d ago
We moved machine-vision inference to the edge - here is what changed in our code
I'm a software developer working on data ingestion and upper-layer applications for industrial scenarios. Over the past year I've had to answer the same question over and over: where should the collected data actually be processed.
"Edge vs cloud" sounds like an architecture-PPT topic, until you have to debug a 200ms latency spike in production and see what it looks like in code.
What we kept validating on the software side:
- Machine-vision inspection and PLC communication can't wait for a round-trip to the cloud. Real-time decisions have to stay in a local process, not go through a remote API.
- The cloud is still the right place for historical analytics, multi-site reporting and model training - that's its home turf.
- In practice it always ends up hybrid: the edge box runs real-time logic, only aggregated results get uploaded on a schedule, and when the network drops the local queue buffers data and backfills after reconnection.
For us writing the software, an edge device means a stable runtime: fixed OS, fixed COM/LAN mapping, 7x24 uptime. My company happens to build these industrial mini PCs (BVS), but the architecture tradeoffs are independent of whose hardware you use.
Curious where you draw the edge/cloud line - by latency, or by data volume?