OPC UA Shared-Memory: Conceptual Elaboration and Prototypical Implementation Using Iceoryx2
Pith reviewed 2026-06-26 12:54 UTC · model grok-4.3
The pith
Shared memory transport for OPC UA reduces intra-host communication latencies compared to TCP.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that extending OPC UA with shared-memory transport, implemented prototypically via a modified library and Iceoryx2, delivers consistently lower function call latencies than the TCP-based version while preserving the OPC UA information model for microservice-based automation applications.
What carries the argument
Shared-memory transport mechanism for OPC UA, realized through integration with Iceoryx2, which bypasses network stack processing for direct memory access between processes on the same host.
If this is right
- Co-located OT and IT applications can exchange data with reduced overhead while retaining OPC UA semantic models.
- Microservice architectures in automation become feasible on shared edge hardware without sacrificing determinism.
- Intra-host communication latencies drop enough to support tighter interaction between heterogeneous applications.
- Implementation constraints in the current prototype leave room for further latency reductions through additional tuning.
Where Pith is reading between the lines
- The same shared-memory pattern might extend to other industrial protocols that currently rely on TCP for local communication.
- Hybrid setups could route inter-host traffic over TCP while using shared memory only for same-host pairs, improving overall system efficiency.
- Real-time control loops in industrial settings could shorten cycle times if the latency reduction scales to higher message rates.
Load-bearing premise
The observed latency differences arise from the shared-memory transport itself rather than from changes made to the OPC UA library or from the specific way Iceoryx2 was integrated.
What would settle it
An independent benchmark that compares an unmodified OPC UA stack against a shared-memory version on identical hardware and workloads, isolating whether the latency gap remains after removing the prototype modifications.
Figures
read the original abstract
The increasing virtualization of automation software leads to a growing co-location of heterogeneous applications on shared edge devices and fosters modern microservice architectures. As a result, traditional OT software and modern IT-driven higher-level automation applications are increasingly executed on the same host system, enabling improved synergy and more efficient interaction between these domains. This development imposes strict requirements on the underlying communication infrastructure, particularly regarding latency and determinism. At the same time, there is a lack of middleware solutions that address these requirements while incorporating modern concepts such as standardized semantic information models. Building on prior work, this paper further develops a previously proposed concept of extending the OPC UA communication model for microservice-based applications and suggests the use of shared-memory as a transport mechanism for optimized intra-host communication. In addition, a first prototypical implementation based on a modified OPC UA library using Iceoryx2 is presented and evaluated in a proof-of-concept study by measuring function call latencies on the user level and comparing them to the original TCP-based OPC UA implementation. The results show consistently lower latencies for the shared-memory approach, while also indicating remaining optimization potential due to current implementation constraints.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript elaborates a concept for extending the OPC UA communication model to microservice-based applications on shared edge devices by using shared-memory as an intra-host transport. It presents a prototypical implementation via a modified OPC UA library integrated with Iceoryx2 and reports a proof-of-concept evaluation in which user-level function-call latencies are measured and compared to the original TCP-based OPC UA implementation, claiming consistently lower latencies for the shared-memory path along with remaining optimization potential.
Significance. If the reported latency advantage can be shown to arise specifically from the shared-memory transport (rather than from unisolated changes to the library), the work would address a practical need for low-latency, deterministic intra-host communication that still preserves OPC UA semantic models. The approach combines a standardized information model with an existing zero-copy middleware (Iceoryx2), which is a concrete strength of the contribution.
major comments (2)
- [Abstract / Evaluation] Abstract and evaluation description: the headline claim that shared-memory yields lower latencies rests on timing comparisons performed after the OPC UA library itself was modified to incorporate the new transport. No quantitative latency values, error bars, measurement methodology, or statistical details are supplied, and no account is given of the modification delta (altered call paths, removed indirections, or Iceoryx2-specific changes). Consequently the comparison does not isolate the asserted causal factor.
- [Evaluation] The experimental design therefore leaves open the possibility that observed differences are artifacts of the library modifications rather than the shared-memory mechanism; without controls that hold all other factors constant, the central empirical result cannot be taken as support for the transport-level claim.
minor comments (1)
- [Abstract] The abstract states that results indicate 'remaining optimization potential due to current implementation constraints' but does not enumerate those constraints or quantify their impact.
Simulated Author's Rebuttal
We thank the referee for the constructive comments. We agree that the evaluation requires clarification and additional detail to better support the claims. We respond to each major comment below.
read point-by-point responses
-
Referee: [Abstract / Evaluation] Abstract and evaluation description: the headline claim that shared-memory yields lower latencies rests on timing comparisons performed after the OPC UA library itself was modified to incorporate the new transport. No quantitative latency values, error bars, measurement methodology, or statistical details are supplied, and no account is given of the modification delta (altered call paths, removed indirections, or Iceoryx2-specific changes). Consequently the comparison does not isolate the asserted causal factor.
Authors: We agree that the manuscript does not supply quantitative latency values, error bars, measurement methodology, statistical details, or a breakdown of the library modification delta. In revision we will add these elements to the evaluation section, including a description of altered call paths, removed indirections, and Iceoryx2-specific changes, so that the comparison can be assessed more precisely. revision: yes
-
Referee: [Evaluation] The experimental design therefore leaves open the possibility that observed differences are artifacts of the library modifications rather than the shared-memory mechanism; without controls that hold all other factors constant, the central empirical result cannot be taken as support for the transport-level claim.
Authors: We acknowledge that the current design does not include explicit controls holding all other factors constant, leaving open the possibility that differences arise from library modifications. We will revise the manuscript to discuss this limitation explicitly, clarify the proof-of-concept scope, and add any feasible comparative analysis or controls that can be implemented without new experiments. revision: partial
Circularity Check
No circularity: empirical implementation study with direct measurements
full rationale
The paper is a conceptual elaboration plus prototypical implementation and latency measurement study. No equations, parameter fitting, derivations, or self-referential constructions appear in the provided abstract or description. The central claim rests on timing comparisons between the modified shared-memory path and the original TCP implementation; these are external empirical observations rather than quantities defined in terms of themselves or forced by self-citation. Building on prior work is noted but does not reduce the reported results to a self-citation chain or ansatz. This matches the default expectation of a self-contained implementation paper.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption Shared memory provides inherently lower latency than TCP sockets for data exchange between processes on the same host
Reference graph
Works this paper leans on
-
[1]
Flexible and reconfigurable manufacturing sys- tems paradigms.Int
Hoda A ElMaraghy. Flexible and reconfigurable manufacturing sys- tems paradigms.Int. J. Flex. Manuf. Syst., 2005
2005
-
[2]
A pilot study on a strategicapproachforintegratingPLCwithindustry4.0technologies
Kelvin Sunilkumar Kollamolel and Sagil James. A pilot study on a strategicapproachforintegratingPLCwithindustry4.0technologies. InIEEE ASME
-
[3]
The impact of integrating information technology with operational technology in physical assets: A literature review.IEEE Access, 12, 2024
Arno Kok, Alberto Martinetti, and Jan Braaksma. The impact of integrating information technology with operational technology in physical assets: A literature review.IEEE Access, 12, 2024
2024
-
[4]
Software con- tainers for industrial control
Thomas Goldschmidt and Stefan Hauck-Stattelmann. Software con- tainers for industrial control. In2016 42th Euromicro Conference on Software Engineering and Advanced Applications (SEAA). IEEE, August 2016
2016
-
[5]
Towards OPC UA over Shared Memory as an Open Intra-Host Middleware for Automation Software
Thomas Barth, Patrick Kremser, Tatjana Legler, and Martin Ruskowski. Towards OPC UA over Shared Memory as an Open Intra-Host Middleware for Automation Software. September 2025
2025
-
[6]
Github.https://github.com/ eclipse-iceoryx/iceoryx2
Eclipse iceoryx2™. Github.https://github.com/ eclipse-iceoryx/iceoryx2. Accessed: 2026-04-10
2026
-
[7]
Part 1: Overview and Concepts.https:// reference.opcfoundation.org/Core/Part1/v105/docs/,
OPC Foundation. Part 1: Overview and Concepts.https:// reference.opcfoundation.org/Core/Part1/v105/docs/, . Accessed: 2026-04-10
2026
-
[8]
Device status information service architectureforconditionmonitoringusingOPCUA
DavidHastbacka,LaurentiuBarna,MikaKaraila,YiqingLiang,Pasi Tuominen, and Seppo Kuikka. Device status information service architectureforconditionmonitoringusingOPCUA. InETFA.IEEE, September 2014
2014
-
[9]
Developing open sourcecyber-physicalsystemsforservice-orientedarchitecturesusing OPC UA
Marcel Muller, Elmar Wings, and Lars Bergmann. Developing open sourcecyber-physicalsystemsforservice-orientedarchitecturesusing OPC UA. InINDIN. IEEE, July 2017
2017
-
[10]
Part 14: PubSub.https://reference
OPC Foundation. Part 14: PubSub.https://reference. opcfoundation.org/Core/Part14/v105/docs/, . Accessed: 2026-04-10
2026
-
[11]
Tripathy et al
A. Tripathy et al. OPC UA Service Discovery and Binding in a Service-Oriented Architecture. InICPS. IEEE, 2022. ISBN 978-1- 6654-9770-1
2022
-
[12]
Frommonolithicarchitecturetomicroservices architecture
LorenzoDeLauretis. Frommonolithicarchitecturetomicroservices architecture. InISSREW. IEEE, October 2019
2019
-
[13]
Towardstransforminganindustrialautomationsystem from monolithic to microservices
S.Sarkaretal. Towardstransforminganindustrialautomationsystem from monolithic to microservices. InETFA. IEEE, September 2018
2018
-
[14]
Control as a service: A microservice approach to industry 4.0
Jeferson A Bigheti, Michel M Fernandes, and Eduardo P Godoy. Control as a service: A microservice approach to industry 4.0. In MetroInd4.0&IoT. IEEE, June 2019
2019
-
[15]
Container-basedvirtualizationforreal-timeindustrial systems-a systematic review
Rui Queiroz, Tiago Cruz, Jérôme Mendes, Pedro Sousa, and PauloSimões. Container-basedvirtualizationforreal-timeindustrial systems-a systematic review. 2023. ISSN 1557-7341
2023
-
[16]
Shimmy: Accelerating inter-container communication for the IoT edge
Manan Khasgiwale, Vasu Sharma, Shivakant Mishra, Biljith Thadichi, Jaiber John, and Rahul Khanna. Shimmy: Accelerating inter-container communication for the IoT edge. InGLOBECOM. IEEE, December 2023
2023
-
[17]
Wang et al
Y.-P. Wang et al. TZC: Efficient inter-process communication for robotics middleware with partial serialization. InIROS. IEEE, November 2019
2019
-
[18]
Github.https://github.com/cloudwego/ shmipc-go
CloudWeGoShmipc. Github.https://github.com/cloudwego/ shmipc-go. Accessed: 2026-04-10
2026
-
[19]
Github.https://github.com/Flow-IPC/ipc
Flow-IPC. Github.https://github.com/Flow-IPC/ipc. Ac- cessed: 2026-04-10
2026
-
[20]
Documentation.https://fast-dds
EPROSIMA FastDDS. Documentation.https://fast-dds. docs.eprosima.com. Accessed: 2026-04-13
2026
-
[21]
Documentation.https://www.boost.org/
Boost. Documentation.https://www.boost.org/. Accessed: 2026-04-13
2026
-
[22]
Github.https://github.com/mutouyun/ cpp-ipc
Mutouyun cpp-ipc. Github.https://github.com/mutouyun/ cpp-ipc. Accessed: 2026-04-10
2026
-
[23]
Accessed: 2026-04-10
Squadrickshadesmar.Github.https://github.com/Squadrick/ shadesmar. Accessed: 2026-04-10
2026
-
[24]
Github.https://github.com/FreeOpcUa/ freeopcua
freeopcua cpp. Github.https://github.com/FreeOpcUa/ freeopcua. Accessed: 2026-04-13
2026
-
[25]
Documentation Restrictions.https://iceoryx
Eclipse iceoryx. Documentation Restrictions.https://iceoryx. io/v2.0.2/getting-started/overview/. Accessed: 2026-04- 13. 7
2026
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.