Menu
Event-Driven Architecture for the Shop Floor: Why Polling Limits Real-Time Data

Event-Driven Architecture for the Shop Floor: Why Polling Limits Real-Time Data

Event driven architecture for manufacturing replaces constant polling with pub-sub and report-by-exception, so factories scale real-time IIoT data without drowning networks.
Event-Driven Architecture for the Shop Floor: Why Polling Limits Real-Time Data

Event-driven architecture for manufacturing is a data pattern where machines publish a message only when something meaningful changes, instead of being asked for their status again and again on a fixed timer. On a modern shop floor, hundreds of sensors, PLCs, and machine controllers all want to report state, and the way you move that data determines whether your dashboards are truly real-time or quietly minutes behind. Polling, the traditional approach, has each device interrogated on a schedule regardless of whether anything happened. Event-driven designs flip the flow: the source pushes an update the instant it occurs, which scales far better as you add machines.

What polling actually costs you

Polling feels simple. A server asks each device, "What is your value now?" every few seconds, stores the answer, and repeats. The trouble is that most of those answers are identical to the last one. A conveyor motor that runs steadily for an hour still gets asked hundreds of times, and every request consumes network bandwidth, CPU, and a database write even though the state never changed.

The cost compounds in three ways. First, latency is bounded by your poll interval: if you poll every 5 seconds, a micro-stop that starts one millisecond after a poll is invisible for almost 5 full seconds. Second, network load grows linearly with device count times poll frequency. Third, you generate enormous volumes of redundant data that inflate storage and slow every query that has to sift through it. For anyone tracking overall equipment effectiveness, those missed short stops directly understate your availability losses.

How event-driven and report-by-exception work

Event-driven systems are built on two ideas that reinforce each other:

  • Publish-subscribe (pub-sub): devices publish messages to named topics on a broker. Any number of consumers subscribe to the topics they care about. The publisher does not know or care who is listening, which decouples machines from the applications that consume their data.
  • Report by exception: a device transmits a value only when it changes beyond a defined deadband, plus an occasional heartbeat to prove it is alive. A temperature holding at 71.9 to 72.1 degrees sends nothing; a jump to 78 degrees publishes immediately.

Lightweight protocols such as MQTT (often paired with the Sparkplug specification for industrial payloads) were designed for exactly this. The broker sits between the edge and the enterprise, so adding a new consumer, say a quality app watching for Nelson rules violations, requires zero changes on the machine side. This differs from the request-response model of a traditional SCADA system, where the polling logic and tag map are tightly coupled to each client.

A worked example: 200 machines, one week

Assume a plant with 200 machines, each exposing 50 tags, and a 1 second poll interval. Polling touches every tag on every cycle:

  • 200 machines times 50 tags = 10,000 tag reads per second.
  • Over a 24 hour day that is 10,000 times 86,400 = 864 million reads per day, roughly 6 billion per week.
  • Almost all are duplicates. If, realistically, only 2 percent of tags actually change in any given second, then 98 percent of that traffic carries no information.

Now switch to report by exception at the same 2 percent change rate, plus a heartbeat once per minute per machine:

  • Changing tags: 10,000 times 0.02 = 200 messages per second.
  • Heartbeats: 200 machines / 60 seconds = about 3.3 messages per second.
  • Total: roughly 203 messages per second versus 10,000, a reduction of about 98 percent in message volume and database writes.

The event-driven version does not just cut load, it improves fidelity. Because the changing 2 percent is sent the instant it happens, latency drops from "up to 1 second" to milliseconds, and you finally capture the sub-second events that polling averages away. Fewer writes also means faster Pareto analysis of your top downtime causes.

Why real-time fidelity changes your metrics

Manufacturing metrics are only as honest as the data feeding them. Micro-stops under 5 minutes are a classic blind spot, and they roll straight into your speed and availability losses. When polling smooths over a 3 second jam that recurs 400 times a shift, you lose 20 minutes of documented downtime that never reaches your scrap rate or throughput analysis.

Event streams also carry accurate timestamps at the source, so you can reconstruct the exact sequence of a fault: sensor tripped, guard opened, motor stopped, operator acknowledged. That ordered timeline is the raw material for meaningful MTBF and MTTR reliability metrics and for tightening the loop between a detected condition and the maintenance response it should trigger.

Turning events into maintenance action

An event is only valuable if something consumes it. The most useful downstream consumer is often a maintenance system. When a vibration threshold is crossed or a machine publishes a fault code, a subscriber can automatically open a work order, attach the event data, and route it to the right technician. That is the practical bridge between shop-floor signals and a CMMS.

This is also how teams move from purely reactive habits toward the disciplines described in reactive versus proactive maintenance and condition-based maintenance. The event-driven layer supplies the condition signal; your rules and workflows decide what to do with it. Note that turning raw events into reliable failure forecasts remains an advanced, model-heavy discipline across the industry, not something an architecture alone delivers.

Practical guidance for adoption

  1. Start at the bottleneck. Instrument the constraint machine first, since that is where captured micro-stops pay back fastest.
  2. Set sensible deadbands. Too tight and you flood the broker with noise; too loose and you miss real changes. Tune per tag.
  3. Keep a heartbeat. Report by exception needs a liveness signal so silence is never confused with a dead sensor.
  4. Buffer at the edge. Store-and-forward at the gateway means a brief network drop delays data rather than losing it.
  5. Model your topics deliberately. A clean topic namespace (site, area, line, cell, tag) keeps consumers simple and future-proof.

Where Fabrico fits

Fabrico is the real-time data foundation for this pattern. It delivers real-time OEE and production monitoring, so the events flowing off your floor become live availability, performance, and quality numbers rather than after-the-fact reports. Where a machine has no PLC to publish from, Fabrico adds computer vision on the machine to generate the state changes directly, which extends event-driven visibility to equipment that could never be polled at all.

On the action side, Fabrico is a field-ready CMMS: work orders, asset registers, preventive scheduling, and spare parts management, so a detected condition can become a scheduled or dispatched job. Fabrico is EU-built with EU data residency, which matters when your event stream carries sensitive operational data. You can see how the monitoring and maintenance sides connect in the MES and OEE solution overview and the CMMS solution overview.

Frequently Asked Questions

Is event-driven architecture always better than polling?

Not universally. For a handful of slow-changing tags where a few seconds of latency is fine, polling is simpler to build and reason about. Event-driven design wins decisively as scale, device count, and the need for sub-second fidelity grow, which describes most modern factories tracking short stops and detailed loss reasons.

Does report-by-exception risk losing data if a device goes silent?

That is why a heartbeat is mandatory. Each device publishes a periodic liveness message so the system can distinguish "value unchanged" from "device offline." Edge buffering with store-and-forward further protects against brief network outages by holding messages until the connection recovers.

Can I add event-driven data to machines that have no controller?

Yes. Machines without a PLC or accessible tags cannot publish on their own, but computer vision can observe the machine and emit state-change events (running, stopped, blocked) from what it sees. That brings legacy and standalone equipment into the same real-time stream as your networked assets.

Ready to turn your shop-floor events into live OEE and automatic work orders? Book a Fabrico demo and see real-time monitoring and a field-ready CMMS working on your own machines.

Das Neueste aus unserem Blog

Hour-by-Hour Boards: Catching a Bad Shift While It Can Still Be Saved
Jetzt lesen
Hydrostatic Pressure Testing: Proving Containment Before Service Does
Jetzt lesen
Plant Winterization: Freeze Protection as a Scheduled Campaign
Jetzt lesen
Dead Leg Management: The Pipework Nobody Flows Through
Jetzt lesen
Definieren Sie Ihren Zuverlässigkeitsfahrplan
Überzeugen Sie sich selbst!
Definieren Sie Ihren Zuverlässigkeitsfahrplan
Indem Sie auf die Schaltfläche „Akzeptieren“ klicken, erklären Sie sich mit der Nutzung einverstanden.Cookies beim Zugriff auf diese Website und bei der Nutzung unserer Dienste. Erfahren Sie mehrWeitere Informationen zur Verwendung und Verwaltung von Cookies finden Sie in unserem Datenschutzrichtlinie und Cookie-Erklärung