LibreInfra Field Notes
A historian, a broker and a data lake are different systems
Industrial data systems fail when movement, history, authority and analysis are treated as the same store.
A historian, a broker and a data lake are different systems
Industrial data architectures fail when tools that move events, preserve operational history and support analysis are treated as interchangeable stores.
A machine value changes.
The control system observes it. A gateway publishes it. A broker forwards it. A historian records it. A stream processor evaluates it. A data platform stores a derived copy. A dashboard displays a trend. An archive may eventually preserve selected records.
The same measurement appears in several places.
That does not make those systems equivalent.
One exists to move information. Another preserves time-series operating context. Another supports analytical processing. Another may hold the authoritative operational record. Their retention, ordering, recovery and access contracts are different.
When those contracts remain implicit, teams begin using whichever system already contains the data.
The broker becomes a database. The historian becomes an integration bus. The data lake becomes a backup. The archive becomes cheap old storage.
The architecture works until a failure asks which copy can actually be trusted.
The central test
Industrial data becomes ownable when every layer has a clear responsibility for movement, authority, time, retention, recovery and interpretation.
Start with the contract, not the product name
Industrial data platforms contain several categories of technology.
Field systems and controllers observe or influence physical processes. Supervisory systems provide operating views and commands. Gateways translate protocols and bridge trust boundaries. Brokers move messages. Historians preserve time-series records. Databases hold application state. Object stores and analytical platforms support larger-scale processing.
Product boundaries may overlap.
The architecture responsibilities should not.
Common mistake
Comparing every system that can store a value as though each were an alternative database.
Better framing
Ask what contract the layer provides: current control state, message delivery, ordered event history, operational time series, analytical data or governed retention.
The question “Where should this data go?” is too early.
First ask why the data exists and which decisions depend on it.
The control layer owns the immediate process state
Industrial control systems interact with equipment and processes.
They may hold current measurements, control states, alarms, setpoints and logic required for local operation.
That state has timing and safety implications different from analytical data.
A central data platform should not become the hidden authority for a decision that must occur locally and predictably. A delayed event in a lake cannot substitute for the current value required by a control loop.
The control layer usually needs:
- bounded response
- deterministic or predictable behaviour
- local authority
- clear fail-safe conditions
- equipment-specific semantics
- carefully governed change
Data may leave this layer for supervision, history and analysis.
Authority should not move merely because a downstream system retains a copy.
An analytical platform may identify a pattern and recommend a change. The system authorised to apply that change remains a separate architectural decision.
Protocols and gateways define communication boundaries
Industrial protocols carry information between devices, controllers, gateways and applications.
They solve different problems.
Some expose registers or current values. Some support structured information models. Some provide publish-and-subscribe messaging. Some are designed for constrained devices or unreliable connections.
A protocol is not automatically a storage or governance layer.
For example, MQTT can support lightweight publish-and-subscribe communication. OPC UA can expose structured industrial information and relationships. Neither, by itself, determines long-term authority, recovery, archive or analytical ownership.
Gateways add another responsibility.
They may translate protocols, normalise values, assign identifiers, apply security policy, buffer events or cross network zones.
That makes the gateway part of the data contract.
If a gateway converts units, changes timestamps, renames assets or filters events, downstream systems need to know. Otherwise, the meaning of the data depends on configuration that may exist only inside the gateway.
A gateway should not be a semantic black box.
A broker moves information; it does not automatically own it
Message brokers connect producers and consumers.
They can buffer bursts, decouple systems, distribute events and support asynchronous operation.
Their primary responsibility is movement.
Some brokers retain messages for a short period. Some maintain ordered logs for longer. Some support replay. Some deliver each message to one consumer; others distribute it to several subscribers.
Those behaviours affect architecture.
They do not automatically make the broker the authoritative store.
Equipment and control
|
v
Gateway and protocol boundary
|
v
Broker, queue or event stream
/ | \
v v v
Historian Application Analytics pipeline
| | |
v v v
Operations Current state Data lake
If the broker is unavailable, producers and consumers need a defined response.
Do producers block, buffer or drop data? Do consumers resume from a known position? How are duplicates handled? What happens when messages arrive out of order?
A broker creates transport guarantees.
Each consuming system still needs a processing and recovery model.
Queues and streams represent different operating ideas
A queue usually represents work waiting to be handled.
A consumer receives a message, performs the task and acknowledges completion. The message may then disappear from the active queue.
An event stream represents a sequence of facts or changes that several consumers may read independently.
Consumers track their own position. Retention allows some degree of replay.
Real systems can combine both patterns, but the distinction remains useful.
A work order should not necessarily be replayed as though it were a harmless fact. A machine event may need to be consumed by several systems without one consumer removing it for the others.
When teams select a messaging tool only by throughput, they miss the operating contract:
- Is the message a command, task, state update or event?
- May it be processed more than once?
- Does order matter?
- When does it expire?
- Who may replay it?
- What evidence proves completion?
- Is the message itself authoritative?
A transport layer cannot answer these questions on behalf of the business process.
A historian preserves operating time, not every data use
Industrial historians are designed around time-series operational data.
They may organise measurements as tags or points, preserve timestamps, support compression, retrieve trends and handle high volumes of repeated values.
That makes them valuable for operations, investigation and performance analysis.
A historian is not automatically:
- the source of current control authority
- a general application database
- a message broker
- a governed archive
- a complete analytical platform
- a backup of every upstream system
Historian data often contains operating context that ordinary exports can lose.
Values may be compressed. Quality indicators may distinguish valid, estimated or missing measurements. Timestamps may reflect source time, receipt time or historian time. Calculated tags may depend on rules stored elsewhere.
Exporting rows without this context can preserve numbers while losing meaning.
A recovery plan should therefore protect both data and interpretation.
Which tag definition was active? Which unit was used? Which time zone and clock source applied? Which quality states were retained? Which calculation produced the derived value?
A historian can preserve a long record.
It does not remove the need for metadata stewardship.
A data lake supports analysis, not operational authority
Object storage and analytical data platforms can retain large volumes of industrial data economically.
They allow organisations to combine measurements with maintenance records, production context, asset information, weather, quality data and other sources.
That creates analytical value.
It also creates distance from the original process.
Data may be transformed, partitioned, deduplicated, resampled and enriched. Several versions may exist for different analytical purposes. Results may arrive long after the physical event.
This makes the lake a poor substitute for immediate operational authority.
The lake can support:
- long-term analysis
- model development
- cross-site comparison
- reporting
- research
- derived datasets
It should not silently become the system that decides what happened at the equipment boundary.
The analytical platform needs lineage back to the source.
Which gateway produced the data? Which historian or broker supplied it? Which transformations changed it? Which records were excluded? Which schema version was used?
Without lineage, industrial analytics becomes detached from the operating evidence it claims to interpret.
Asset identity matters more than another copy
Industrial data loses value when systems disagree about what an identifier means.
One system names a sensor by network address. Another uses an engineering tag. A maintenance system uses an asset number. A data platform invents a new path based on site and production line.
All may refer to the same physical component.
Or they may refer to different points that look similar.
An ownable data architecture needs a stable relationship between:
- physical asset
- measurement point
- control-system identifier
- historian tag
- broker topic or event key
- analytical dataset
- maintenance record
The goal is not necessarily one universal identifier.
It is a governed mapping with known ownership.
Asset identity should survive replacement of a gateway, broker, historian or analytical platform. Otherwise, every migration becomes a semantic reconstruction project.
A new system can copy the values.
It cannot infer the organisation’s intended asset model reliably from names alone.
Time is part of the data model
Industrial events are interpreted through time.
But one event may contain several times:
- when the physical condition occurred
- when the device observed it
- when the gateway received it
- when the broker accepted it
- when the historian stored it
- when the analytical job processed it
These can differ significantly during network interruption, buffering or clock failure.
A dataset that stores only one timestamp may hide those differences.
The architecture should decide which times matter for each use.
Operational investigation may need source time and receipt time. Message recovery may need sequence position. Analytical pipelines may need processing time and event time. Audit may need the time at which an operator or system acted.
Time synchronisation is therefore an infrastructure dependency.
If clocks drift, certificates may fail, events may appear out of order and incident reconstruction may become unreliable.
Time quality should be treated like data quality.
Broker retention is not backup, and replication is not archive
Messaging and industrial data systems frequently offer retention and replication.
Those features improve availability.
They do not automatically provide historical recovery.
A replicated broker may preserve the current log across node failure while still copying accidental deletion or corrupted producer data. A historian replica may keep the service available while applying the same unwanted change to both copies. A data lake may contain years of records without preserving the schemas, catalogues and software required to read them later.
Backup needs historical states and a tested restoration procedure.
Archive needs durable readability, integrity, retention authority and a governed deletion path.
The layers may reuse the same storage technology.
Their operational contracts remain different.
Recovery test
Select one important industrial signal and trace how it would be reconstructed after loss of the broker, historian and analytical platform. Identify which copy is authoritative at each stage and which metadata is required to interpret it.
The exercise should expose whether the organisation has several resilient copies or several copies of the same uncertainty.
A practical industrial-data review
| Layer | Primary responsibility | Evidence to request |
|---|---|---|
| Control system | Immediate process state and authorised control | Logic ownership, local failure behaviour and change record |
| Gateway | Protocol boundary, translation and local buffering | Mapping, transformation, identity and disconnection behaviour |
| Broker or queue | Message movement and decoupling | Delivery, ordering, retention, replay and failure contract |
| Event stream | Shared ordered history for consumers | Partitioning, consumer position, schema and replay controls |
| Historian | Operational time-series history | Tag definitions, quality, time semantics and recovery |
| Operational database | Application state and transactions | Authority, consistency, backup and restore evidence |
| Data lake or lakehouse | Analytical retention and transformation | Formats, catalogue, lineage and ownership |
| Archive | Long-term governed readability | Retention authority, integrity checks, formats and access path |
| Asset model | Meaning across systems | Identifier mapping, versioning and stewardship |
The same product may perform several roles.
That does not eliminate the need to describe each role separately.
A platform acting as both broker and historian needs separate requirements for transport, authority, retention and recovery.
Strong industrial data architecture preserves distinctions
Industrial data does not become governable by placing every copy in one platform.
It becomes governable when the organisation knows why each copy exists, which decisions it supports and what would be lost if that layer disappeared.
Brokers move information.
Historians preserve operational time.
Data platforms support analysis.
Archives preserve selected records under long-term authority.
Control systems remain responsible for the immediate process within their approved boundary.
The strongest architecture allows these systems to cooperate without pretending they are interchangeable.
One question for the next architecture review
Choose one measurement used by operations, maintenance and analytics and ask:
Which system is authoritative for its value, time, quality and asset meaning—and could the organisation reconstruct that answer if the gateway, broker and historian were all replaced?
Make the next decision with clarity