Skip to main content
Unified Namespace for IIoT: From Chaos to Single Source of Truth

Jan 02, 2025

Unified Namespace for IIoT: From Chaos to Single Source of Truth

Why modern factories need a Unified Namespace (UNS) and how Proxus turns scattered OT data into a single, queryable source of truth. Learn ISA-95 hierarchies, Sparkplug B, and real-world implementation strategies.

UNS Architecture IIoT MQTT Sparkplug B ISA-95

For most industrial organizations, operational technology (OT) data lives in dozens of disconnected silos:

  • Legacy PLCs with proprietary protocols
  • SCADA systems with tightly coupled HMIs
  • Historian databases that only a few experts can query
  • Ad‑hoc integrations to ERP, MES, and cloud analytics
  • Cloud platforms (Salesforce, SAP) that pull data from multiple manual feeds

The result is a fragile spaghetti architecture where every new integration makes the system harder to reason about, maintain, and scale. Industry analysts estimate that manufacturers spend 40-60% of integration projects just mapping data, not solving actual business problems.

Proxus approaches this problem differently: with a Unified Namespace (UNS) at the center of the architecture—a architectural pattern that decouples producers from consumers and establishes a true Single Source of Truth.

What is a Unified Namespace?

A Unified Namespace is not software you buy; it is an architectural design pattern where all operational data flows through a single, well‑structured broker. In a UNS architecture:

  • Every data point has a predictable location (MQTT topic path)
  • Naming is consistent across the enterprise (ISA‑95 inspired hierarchy)
  • All systems see the same view without custom mappings

Instead of building N×M point‑to‑point connections (where adding one new system requires connecting to M existing systems), each component simply:

  • Publishes what it produces to the UNS
  • Subscribes to what it needs from the UNS

This elegant topology eliminates data silos, reduces integration cost, and creates an environment where adding a new data consumer is trivial.

Why MQTT?

MQTT (Message Queuing Telemetry Transport) is the industry standard for UNS implementations because it:

  • Minimizes bandwidth: Devices publish only when data changes (report-by-exception), not continuously
  • Ensures reliability: Persistent message queues guarantee no data loss during outages
  • Scales effortlessly: Millions of topics, hundreds of thousands of subscribers, single broker handles all
  • Provides security: Built-in authentication, TLS encryption, and Access Control Lists (ACLs)

Think of the MQTT broker as the central nervous system of your factory—all sensors, machines, and applications connect to it, not to each other.

The ISA-95 Hierarchy: Standardized Data Organization

Proxus implements UNS using the ISA-95 Part 2 hierarchy, which organizes data into a five-level pyramid:

Enterprise (e.g., "Proxus Global")
  └─ Site (e.g., "Istanbul_Factory")
       └─ Area (e.g., "Assembly_Line_1")
            └─ Equipment (e.g., "Robot_Arm_04")
                 └─ Metrics (e.g., "Temperature", "Status", "OEE")

This structure ensures that:

  1. Humans can navigate the data tree intuitively (no API documentation needed)
  2. Wildcard subscriptions work (e.g., subscribe to Istanbul_Factory/Assembly_Line_1/+/+/OEE to get OEE from all equipment on that line, including future machines)
  3. Context is preserved (the topic path itself tells you where the data comes from)
  4. Legacy systems can adapt (a 20-year-old PLC becomes just another "Equipment" node)

Example topic in a beverage bottling plant:

ProxusMfg/Istanbul/Bottling/Line3/FillerMachine/metrics/Temperature
ProxusMfg/Istanbul/Bottling/Line3/FillerMachine/state/Running
ProxusMfg/Istanbul/Bottling/Line3/FillerMachine/events/MaintenanceAlert

Sparkplug B: Standardized Payloads, Not Just Topics

While MQTT provides the transport, Sparkplug B is a specification that standardizes the format of messages published to MQTT. It solves a critical problem: without Sparkplug B, one device might send {"temp": 24} while another sends 24.0 as raw bytes, causing a "Tower of Babel" in your data lake.

Sparkplug B enforces:

Birth & Death Certificates

  • When a device comes online, it publishes a BIRTH message containing all its available metrics, data types, and properties.
  • If the device disconnects, the MQTT broker automatically sends a DEATH message, alerting all subscribers.
  • This eliminates stale data and ghost devices haunting your dashboards.

Type Safety & Compression

  • Uses Protocol Buffers (Google's binary serialization format) instead of JSON
  • Reduces payload size by 60-70% (critical for bandwidth-constrained sites)
  • Enforces schema validation (a temperature must be a float, not a string)

State Awareness

  • Devices can publish REBIRTH messages when recovering from errors
  • Brokers retain the last value, so new subscribers immediately see current state without waiting

Proxus natively supports both standard MQTT and Sparkplug B, allowing you to mix legacy devices with modern, schema-aware sensors.

How Proxus Implements UNS

Proxus is built from the ground up around UNS. Unlike bolting MQTT onto a legacy platform, Proxus uses an actor-based architecture where:

  1. Edge Gateways (stateless field nodes) connect to legacy PLCs via Modbus, Siemens S7, OPC-UA, etc.
  2. Each Gateway normalizes raw tags into ISA-95 topics and publishes to the central UNS broker
  3. Central Broker distributes data to SCADA, MES, ERP, and analytics systems
  4. Data Pipeline automatically persists telemetry to PostgreSQL and ClickHouse without impacting the broker
  5. Rules Engine evaluates conditions at the edge and publishes derived metrics (e.g., OEE, anomalies) back to the UNS
  6. Dashboards read from an in-memory cache fed by the UNS, not directly from PLCs (eliminating network load)

This architecture ensures:

  • Sub-millisecond latency for critical alerts (local processing)
  • 100% uptime even when connectivity drops (JetStream buffering)
  • Linear scaling (add gateways without overloading the central server)

Real-World Example: Beverage Bottling Plant

Let's walk through a concrete scenario: ProxusMfg's Istanbul bottling facility wants to monitor three lines in real-time and correlate OEE across all of them.

Before UNS (The Spaghetti Architecture)

  • Siemens S7-1200 PLCs on each line talk to a local HMI (custom protocol)
  • MES system polls each PLC directly every 5 seconds (8 separate connections)
  • ERP (SAP) has a separate integration module that reads from the MES (delayed by 15 minutes)
  • BI dashboards query SAP data warehouse (2-hour lag)
  • When bottling capacity needs to be reported to logistics, someone exports to Excel

Problem: Adding a new data consumer (e.g., predictive maintenance) requires 3-6 weeks of integrator work and touches production systems.

After UNS with Proxus

  • Three Edge Gateways connect to the S7 PLCs (one per line)
  • Each gateway publishes normalized data to the central MQTT broker:
    ProxusMfg/Istanbul/Bottling/Line1/FillerMachine/metrics/BottlesPerMinute: 450
    ProxusMfg/Istanbul/Bottling/Line1/FillerMachine/metrics/DowntimePercent: 2.3
    ProxusMfg/Istanbul/Bottling/Line2/FillerMachine/metrics/DowntimePercent: 1.1
    ProxusMfg/Istanbul/Bottling/Line3/FillerMachine/metrics/DowntimePercent: 5.8
  • MES subscribes to ProxusMfg/Istanbul/Bottling/+/+/metrics/DowntimePercent and gets real-time data
  • ERP publishes production orders to ProxusMfg/Istanbul/Bottling/+/commands/ProductionOrder
  • BI system subscribes to all metrics and builds live dashboards (no lag)
  • Predictive maintenance model subscribes to vibration data and publishes anomalies in real-time

Result: Adding the new predictive maintenance consumer took 2 hours, not 2 weeks.

Benefits for Industrial Teams

With a Unified Namespace in place, industrial organizations gain:

1. Real-Time Visibility

All stakeholders (operators, maintenance, management) see the same live data set without duplicating systems or dashboards.

2. Lower Integration Cost

New applications subscribe to existing topics instead of requiring new point-to-point connectors. Projects move from months to weeks.

3. Future-Proof Data Model

A clean, ISA-95-aligned topic structure means AI, digital twins, and analytics teams can explore data without constantly modifying production systems.

4. Offline Continuity

Edge gateways buffer data locally during outages and replay it once connectivity is restored—zero data loss.

5. Security by Design

PLCs do not expose inbound ports. Edge gateways initiate outbound connections to the broker, isolating the factory network from the internet.

Common Implementation Mistakes to Avoid

Based on thousands of factory deployments, here are pitfalls to watch out for:

Mistake #1: Unstructured Topic Names

Bad: ProxusMfg/data/temperature/123 (unclear hierarchy)
Good: ProxusMfg/Istanbul/Bottling/Line1/TemperatureSensor/metrics/Temperature

Mistake #2: Mixing Raw Data with Derived Metrics in Same Topic

Bad: Publishing both raw sensor readings and 5-minute averages to the same topic path
Good: Separate paths for raw (/raw/) and aggregated (/metrics/)

Mistake #3: No Device Lifecycle Management

Bad: Devices can go offline and no one knows
Good: Use Sparkplug B birth/death certificates for automatic health tracking

Mistake #4: Trying to Migrate Everything at Once

Bad: Shutting down the old system and converting all PLCs to MQTT in one weekend
Good: Phased migration (Line 1 → Line 2 → Line 3) with coexistence period

Mistake #5: Broker Without Failover

Bad: Single MQTT broker (if it crashes, entire factory data pipeline stops)
Good: High-availability cluster or at least hot standby with automatic failover

FAQ: UNS Myths Debunked

Q: Is UNS only for new factories?

A: No. UNS's primary value is for brownfield (existing) factories. Legacy PLCs stay in place; Edge Gateways act as translators.

Q: Does UNS require ripping out all existing systems?

A: No. You can run UNS alongside existing integrations during a phased migration. Some factories run both for years.

Q: Isn't MQTT too slow for real-time control?

A: MQTT itself is fast (sub-millisecond latency over LAN). The question is not MQTT speed but your architecture. Edge gateways can run rules and control logic locally; they do not rely on round-trip messages to the central server.

Q: What if my factory spans multiple sites across regions?

A: UNS scales across geographies. Central brokers aggregate data from regional edge gateways, or regional brokers federate upward. Proxus supports this natively via NATS Leaf Nodes.

Q: Can I use UNS with my existing MES/ERP?

A: Yes, if your MES/ERP supports MQTT or REST APIs. Proxus includes protocol adapters for SAP, Oracle, Microsoft Dynamics. If your vendor does not support MQTT, Proxus can bridge (MES → Proxus → MQTT → your legacy system).

Q: How many topics can a single MQTT broker handle?

A: Modern brokers (like the one in Proxus) handle millions of topics and hundreds of thousands of concurrent subscriptions. A single broker can support most factories; truly massive deployments (1000+ production lines) use clustering.

Getting Started with UNS

If you are considering UNS for your factory, here is a practical roadmap:

Phase 1: Pilot (1-2 months)

  • Deploy Proxus Edge Gateway to one production line
  • Connect 5-10 critical devices (PLCs, sensors, counters)
  • Publish data to the central MQTT broker
  • Validate that MES/dashboards can consume the data

Phase 2: Expand (3-6 months)

  • Roll out to additional lines
  • Add business rules and derived metrics (OEE, anomalies)
  • Integrate with cloud analytics

Phase 3: Optimize (ongoing)

  • Fine-tune topic hierarchies based on analytics
  • Implement advanced patterns (edge ML, predictive maintenance)
  • Scale to additional sites

Conclusion: UNS as Your Foundation

The Unified Namespace is more than a data architecture pattern—it is a fundamental shift in how factories operate. It transforms data from a locked-down commodity into a shared asset that drives innovation.

With Proxus, building a UNS is straightforward. You do not need deep MQTT expertise, custom code, or months of consulting. Proxus handles the complexity—from device connectivity to payload standardization to data persistence—leaving you to focus on business value.

Ready to break free from spaghetti architectures?

Learn how Proxus implements UNS by exploring our comprehensive architecture guide, or dive deeper with the Architect's Guide to Unified Namespace.

Need help with your factory's specific challenges? Contact our solutions team to discuss a UNS strategy tailored to your operations.