Skip to content

Contextual modeling strategies to reduce manufacturing data volume

by Kudzai Manditereza
19 min read

Manufacturing data volumes are growing at roughly 40% year-over-year, yet studies consistently show that less than a quarter of the data points collected on a typical factory floor is ever analyzed or acted upon. 

Efficient contextual modeling is the discipline of structuring operational data so that every byte transmitted carries maximum meaning with minimum overhead. For IT/OT architects designing the next generation of manufacturing data infrastructure, getting this right determines whether your Unified Namespace becomes a lean, responsive nervous system or an expensive, bloated data pipeline.

This article breaks down four interconnected strategies for shrinking your manufacturing data footprint while increasing data usefulness: report-by-exception modeling, payload efficiency, context without bloat, and sustainable data practices that compound over time.

For the first post in the series, exploring the Connect stage, read: Connect: Building a real-time data backbone for data accessibility

Why does most manufacturing data waste bandwidth?

The root cause is straightforward. Traditional polling-based architectures query every sensor, PLC and device at fixed intervals regardless of whether anything has changed. A temperature sensor reporting 72.3°F every second generates 86,400 messages per day. If the temperature only meaningfully changes 50 times per day, that is 86,350 redundant transmissions, each consuming bandwidth, broker resources, storage and processing power downstream.

This problem intensifies when organizations begin adding context to their data. A raw temperature reading might be 8 bytes. Wrapping it in a verbose JSON payload with full asset metadata, location hierarchies, engineering units and timestamps can balloon that to 2-4 KB per message. Multiply that by thousands of data points across dozens of production lines, and you are looking at terabytes of contextual overhead that adds no incremental value beyond what the first transmission provided.

MQTT's publish/subscribe architecture provides a natural foundation for solving both problems. Its event-driven model means data flows only when published, not when polled. Its lightweight binary protocol keeps transport overhead minimal. But the protocol alone does not solve the modeling problem. That requires deliberate architectural decisions about what to send, when to send it and where context should live.

What is Report-by-Exception and how does it reduce manufacturing data volume?

Report-by-exception (RBE) is a data transmission strategy in which a device publishes a new message only when a value changes by more than a defined threshold, often called a deadband. Instead of transmitting every reading on a fixed schedule, the device evaluates whether the new reading represents a meaningful change from the last reported value.

Consider a vibration sensor on a CNC spindle motor. Under normal operating conditions, vibration stays within a narrow band. With RBE configured at a 5% deadband, the sensor only publishes when vibration deviates by more than 5% from the last reported value. During stable operation, this might mean one message every few minutes instead of one per second. During an anomaly, transmission frequency naturally increases as values change rapidly, delivering higher resolution exactly when it matters.

The impact is significant. In a pilot deployment at a discrete manufacturing facility, applying RBE across 12,000 sensor points reduced total MQTT message volume by 87% while maintaining full anomaly detection capability. The broker handled the same operational intelligence at a fraction of the infrastructure cost.

How do you implement RBE effectively?

Three parameters define a well-tuned RBE configuration:

  • Deadband threshold - the minimum change required to trigger a new publication. This varies by signal type: ±0.5°C for a furnace temperature sensor, ±2% for a flow meter or a single-bit change for a binary state.

  • Maximum stale time - the longest allowable interval between transmissions regardless of change. Even if a value is stable, publishing a heartbeat every 60-300 seconds confirms the sensor is alive and the value is current.

  • Criticality override - safety-critical signals (emergency stops, pressure relief valves, gas detection) should always transmit on every scan regardless of deadband settings.

HiveMQ provides a policy engine where architects can enforce RBE compliance at the MQTT broker level. If a device is misconfigured and flooding identical values, a HiveMQ policy can detect and filter redundant publishes before they propagate to subscribers, acting as a safety net beneath edge-level RBE logic. 

How do you achieve payload efficiency without losing information?

Payload efficiency is about encoding the same information in fewer bytes. In manufacturing environments, the difference between a well-designed and a poorly designed payload can be an order of magnitude in size.

Binary vs. text encoding

A JSON payload for a single sensor reading might look like this:

{"sensorId":"VIB-CNC-04-SPINDLE","timestamp":"2025-01-15T14:32:07.123Z","value":3.42,"unit":"mm/s","quality":"good"}

That is approximately 120 bytes. The same information in a compact binary format (such as Protocol Buffers, CBOR or a custom binary schema) can be expressed in 18-24 bytes. Across millions of daily messages, that difference translates directly to bandwidth costs, broker memory utilization and storage requirements.

HiveMQ Broker handles binary payloads natively; MQTT is payload-agnostic by design. The choice of encoding is an architectural decision made at the edge. For greenfield deployments, Protocol Buffers or CBOR offer strong compression with schema evolution support. For brownfield environments where JSON is entrenched, simply eliminating redundant fields from payloads can yield a 40-60% size reduction.

How do you eliminate per-message metadata redundancy?

The most common payload bloat pattern in manufacturing is embedding full asset metadata in every message. When every temperature reading carries the asset's location, type, manufacturer, installation date and calibration status, you are retransmitting static context thousands of times per day per device.

The principle is simple: separate static context from dynamic telemetry. A message should carry only what has changed or what is needed to identify the source. Everything else should be resolvable from a shared context layer.

This is exactly where the transition from pure Data Streaming to Data Intelligence becomes critical.

How can you add context without inflating every message?

Context is what transforms raw telemetry into actionable information. Knowing that a value is 3.42 is useless. Knowing that it is 3.42 mm/s of vibration on the spindle motor of CNC machine 04 in Cell B of Plant 3, that the normal range is 0.5-4.0 mm/s and that this machine was last serviced 847 hours ago; that is intelligence.

The question is where that context lives.

Why is embedding context in every MQTT payload an anti-pattern?

Many early Unified Namespace implementations embed full ISA-95 (the standard model for structuring enterprise-to-plant-floor data) hierarchy metadata and asset properties in every MQTT message. This feels intuitive ("each message is self-describing") but creates massive redundancy. If CNC-04's location, type and maintenance history are included in every vibration reading, and that sensor publishes 500 times per day, you have transmitted the same static context 500 times for zero incremental value.

How does storing context in the Semantic Graph solve this?

HiveMQ’s Data Intelligence introduces a Semantic Graph that maintains the relationships between assets, locations, processes and data points as a persistent, queryable knowledge structure within the platform. Instead of embedding context in payloads, each message needs only a lightweight identifier (a topic path or asset ID). Any consumer that needs context resolves it from the Semantic Graph.

This approach delivers three compounding benefits:

  • Payload size drops. Messages carry only dynamic values and identifiers. A vibration reading goes from 400+ bytes (with embedded context) to under 30 bytes.

  • Context updates propagate instantly. When a machine is relocated or recalibrated, the Semantic Graph is updated once. Every future query reflects the change. With embedded context, you would need to update the edge configuration of every device.

  • Governance becomes tractable. Data quality rules, access policies and lineage tracking operate on the Semantic Graph rather than parsing context out of millions of individual payloads.

For the IT/OT architect, this is a fundamental design shift. The MQTT topic hierarchy provides the organizational backbone (following ISA-95 or your adapted hierarchy), the message payload carries the dynamic signal, and the Semantic Graph in HiveMQ holds the static and slowly-changing context. Each layer does what it does best.

What does a sustainable data architecture look like in practice?

Sustainable data practices in manufacturing are not limited to environmental considerations, though reducing unnecessary compute and network load does lower energy consumption meaningfully. Sustainability here means building a data architecture that scales efficiently as you add plants, lines and use cases without proportional increases in infrastructure cost.

How does the cost of data bloat compound?

Infrastructure costs in manufacturing data systems tend to follow a nonlinear curve. Early deployments with a few hundred data points are forgiving; inefficiencies are invisible. But as organizations scale to tens of thousands of data points across multiple facilities, the costs compound:

  • Broker cluster sizing: Each unnecessary message consumes memory, CPU and network I/O. An 87% reduction in message volume through RBE can mean the difference between a 3-node and a 12-node cluster.

  • Storage and analytics: Downstream systems (historians, data lakes, analytics platforms) ingest and index every message. Reducing volume at the source is more cost-effective than filtering downstream.

  • Network bandwidth: In multi-site architectures using HiveMQ bridge extensions, every redundant message is replicated across WAN links. Lean payloads and RBE reduce bandwidth requirements and improve bridge latency.

A practical reference architecture for efficient manufacturing data modeling

For a mid-size manufacturing operation (5-10 production lines, 10,000-50,000 data points), an efficient contextual modeling approach looks like this:

  • Edge layer: HiveMQ Edge translates OPC UA, Modbus and Siemens S7 protocols to MQTT. RBE is configured per signal type at the edge gateway, with deadbands tuned to process requirements.

  • Transport layer: HiveMQ Broker cluster handles all MQTT traffic with Data Intelligence policies enforcing payload schema validation and filtering residual redundancy.

  • Context layer: HiveMQ Data Intelligence maintains the Semantic Graph with full asset hierarchy, relationships and metadata. Topic structures follow an ISA-95-aligned model.

  • Consumer layer: Analytics platforms, MES, ERP and dashboards subscribe to relevant topics and resolve context from the Semantic Graph as needed.

This architecture typically achieves a 70-90% reduction in total data volume compared to naive poll-and-embed approaches, while delivering richer contextual intelligence to every consumer 

Measuring your data efficiency

Three metrics help IT/OT architects track the health of their data footprint:

Metric

What it measures

Target range

Message utility ratio

Percentage of messages that trigger a downstream action or state change

30%

Payload efficiency score

Average payload size vs. minimum theoretical encoding

< 3x theoretical minimum

Context resolution ratio

Percentage of context resolved from Semantic Graph vs. embedded in payloads

80% from graph

Conclusion

Reducing your manufacturing data footprint is not about collecting less data. It is about collecting smarter: transmitting only what has changed and encoding it efficiently, then storing context where it can be maintained once and resolved many times. The combination of HiveMQ Broker for enterprise-grade MQTT transport, and Data Intelligence for policy enforcement and semantic context, creates a data architecture that scales sustainably across your manufacturing operations.

For architects ready to design a leaner, more intelligent data infrastructure, schedule a consultation with our solutions team to map your current data footprint and identify concrete optimization opportunities.

Explore all four layers and the end-to-end approach in the Building a scalable data foundation for real-time operational intelligence whitepaper.

Kudzai Manditereza

Kudzai is a tech influencer and electronic engineer based in Germany. As a Senior Industrial Solutions Advocate at HiveMQ, he helps developers and architects adopt MQTT, Unified Namespace (UNS), IIoT solutions, and HiveMQ for their IIoT projects. Kudzai runs a popular YouTube channel focused on IIoT and Smart Manufacturing technologies and he has been recognized as one of the Top 100 global influencers talking about Industry 4.0 online.

  • Kudzai Manditereza on LinkedIn
  • Contact Kudzai Manditereza via e-mail
HiveMQ logo
Review HiveMQ on G2