complete protocol isolation achieved at gateway.
Heavy Manufacturer Achieves 99.999% Uptime with Rust-Based Edge Orchestrator That Eliminated Gateway Crashes
Yalantis built a memory-safe, high-performance edge orchestrator in Rust on NXP Layerscape hardware, replacing crash-prone legacy middleware and enabling Industry 4.0 connectivity across 50,000+ sensor tags.
Orchestration layer uptime
Sensor tags per second
Memory-related crashes
“The client’s legacy middleware was written in C++ and Java – both capable languages, but neither designed for the reliability demands of industrial edge computing. Rust gave us memory safety at compile time and fearless concurrency. No garbage collector pauses, no memory leaks, no crashes.”
– Mykhailo Maidan, CTO at Yalantis
Need ultra-reliable edge software for industrial environments? We build in Rust.
Legacy gateway middleware crashed weekly, causing lost production data and unsafe machine states
Client:
Heavy industrial manufacturer
Headquarters:
Europe
Industry:
Smart factory / Industry 4.0
Partnership:
September 2024 – Ongoing
Team:
Project Manager
Solution Architect
Rust Engineers (2)
Embedded Developer
DevOps Engineer
QA Engineer
Services:
Edge software development
IoT consulting
OT/IT integration
Industrial protocol engineering
Industry 4.0 sounds great on paper: connect every machine, stream every sensor reading to the cloud, unlock predictive maintenance and real-time optimization. But for one heavy industrial manufacturer, the path to smart factory status was blocked by a fundamental software problem.
Their factory floor ran on a patchwork of OT protocols – Modbus for legacy PLCs, Profinet for newer controllers, OPC UA for supervisory systems. To bridge these silos and push data to AWS IoT, they deployed edge gateways running middleware written in C++ and Java.
The middleware worked – until it didn’t. Memory leaks accumulated over days. Garbage collection pauses spiked at the worst moments. And periodically, the entire orchestration layer would crash, requiring manual resets.
On a factory floor processing 50,000 sensor tags per second, a gateway crash doesn’t just mean lost data. It means machines operating without coordination, safety interlocks going blind, and production lines grinding to a halt while engineers scramble to restore connectivity.
The client had tried patching the existing middleware. They’d tuned JVM parameters, added watchdog services, implemented automatic restarts. Nothing solved the fundamental issue: the software wasn’t designed for the reliability demands of industrial environments.
They needed a complete architectural rethink:
- Memory safety guaranteed at compile time – no leaks, no crashes
- No garbage collector to introduce latency spikes
- Deterministic networking for critical machine controls
- Concurrent handling of thousands of protocol translation threads
That’s when they partnered with Yalantis to build a new edge orchestrator from the ground up – in Rust.
Client:
Heavy industrial manufacturer
Headquarters:
Europe
Industry:
Smart factory / Industry 4.0
Partnership:
September 2024 – Ongoing
Team:
Project Manager
Solution Architect
Rust Engineers (2)
Embedded Developer
DevOps Engineer
QA Engineer
Services:
Edge software development
IoT consulting
OT/IT integration
Industrial protocol engineering
High-performance Rust-based edge orchestrator with TSN-enabled deterministic networking
NXP Layerscape LS1028A industrial gateway
The orchestrator runs on a hardened industrial gateway powered by NXP’s Layerscape LS1028A processor. This chip was selected specifically for its integrated Time-Sensitive Networking capabilities – essential for deterministic communication with critical machine controls.
Memory-safe Rust architecture
The entire orchestrator is written in Rust, leveraging the language’s strict memory safety guarantees. Memory leaks, buffer overflows, and data races are caught at compile time – not in production. No garbage collector means no unpredictable latency spikes.
Tokio async runtime for concurrent protocol handling
Using Rust’s tokio runtime, the orchestrator handles thousands of concurrent protocol translation threads safely and efficiently. Modbus, Profinet, and OPC UA connections are processed in parallel without blocking, enabling 50,000+ sensor tags per second.
Time-Sensitive Networking for critical controls
The LS1028A’s integrated TSN capabilities enable deterministic, low-latency communication for critical machine controls. Safety-critical commands are guaranteed delivery within bounded timeframes, while non-critical telemetry is asynchronously routed to cloud platforms.
Multi-protocol OT-to-IT translation
The orchestrator natively speaks Modbus, Profinet, and OPC UA on the OT side, translating to MQTT and REST for cloud integration with AWS IoT and Azure IoT Hub. Protocol adapters are modular – adding new OT protocols requires only a Rust crate, not a system redesign.
AWS IoT and Azure IoT Hub integration
Non-critical data is asynchronously routed to the client’s cloud infrastructure for analytics, machine learning, and long-term storage. The orchestrator handles buffering and retry logic locally, ensuring no data loss even during temporary cloud connectivity issues.
Memory-safe compliance and reliability for industrial controls
IEC 62443 industrial network compliance passed
IEC 61508 functional safety design principles
memory-safe architecture prevents critical control failure.
TSN deterministic network communication certified
bounded latency guarantees urgent safety commands.
EU Cyber Resilience ready
Meets digital hardware security guidelines.
OPC UA architecture compliant
Standardized industrial OT data translation.
ISO 27001 cloud security
Encrypted telemetry routing to AWS.
How Yalantis replaced crash-prone middleware with a Rust orchestrator that hasn’t crashed once
In 9 months, we designed, developed, and deployed a complete edge orchestration layer that processes 50,000+ sensor tags per second with 99.999% uptime – eliminating the weekly crashes that had plagued the client’s Industry 4.0 initiative.
We audited the legacy middleware and mapped failure patterns
Before writing any Rust, we needed to understand exactly why the existing middleware was failing. Our team analyzed crash logs, memory profiles, and GC pause distributions from the Java and C++ components.
The patterns were clear: memory leaks in the C++ protocol handlers accumulated over 3-5 days until the system ran out of heap. The Java orchestration layer added unpredictable GC pauses – sometimes exceeding 200ms – which caused timeouts on latency-sensitive OT connections. We documented these failure modes to ensure the Rust replacement would address each one.
We selected NXP Layerscape hardware for TSN-enabled deterministic networking
Software reliability was only half the equation. The client also needed deterministic networking for safety-critical machine controls – something standard Ethernet couldn’t guarantee.
We selected NXP’s Layerscape LS1028A processor for its integrated Time-Sensitive Networking support. TSN provides bounded latency for critical traffic while allowing best-effort delivery for bulk telemetry – exactly what’s needed to bridge OT reliability requirements with IT cloud connectivity.
We built the orchestrator in Rust with tokio async runtime
Rust was the only language choice that satisfied all requirements: memory safety without garbage collection, fearless concurrency for handling thousands of protocol connections, and bare-metal performance for real-time data processing.
We built the orchestrator on the tokio async runtime, enabling efficient handling of concurrent Modbus, Profinet, and OPC UA connections without thread-per-connection overhead. Protocol adapters were implemented as modular crates, making it straightforward to add new OT protocols as the client’s needs evolve.
We deployed with zero-downtime migration from legacy middleware
Replacing middleware on a live factory floor requires careful orchestration. We ran the Rust system in shadow mode for three weeks, processing the same sensor streams as the legacy middleware and comparing outputs.
Once we confirmed 100% data parity and stable performance, we cut over zone by zone during scheduled maintenance windows. The transition was invisible to upstream systems – cloud integrations continued without interruption. Since deployment, the Rust orchestrator has achieved 99.999% uptime with zero memory-related crashes.
Results from Rust orchestrator transformed industrial infrastructure
99.999% uptime achieved
eliminating the weekly crashes of legacy middleware
50,000+ sensor tags per second processed
with headroom for expansion
Zero memory-related crashes since deployment
Rust’s compile-time guarantees delivered
IT-level security brought to OT edge
memory safety eliminates entire classes of vulnerabilities
Deterministic networking for safety-critical controls
via TSN-enabled hardware
Gateway resets eliminated completely
no more emergency engineering calls
IoT-based energy consumption optimization
Implementation of a proof of concept (PoC) monitoring system that interacts with a large network of IoT sensors for a big manufacturer that reduces energy consumption.
AIoT Solution with Predictive Maintenance for Logistics Company
Yalantis partnered with a US-based telematics company to develop a custom IoT-based fleet management system for real-time operations, replacing an expensive third-party platform and reducing the cost per vehicle by 30%.
IoT Fleet Management for RAKwireless
Enterprise-grade IoT device management platform enabling automation and remote maintenance for thousands of gateways.
Data management solution for a major Southeast Asian IoT sensor manufacturer
Yalantis partnered with a manufacturer of IoT sensors for smart buildings to extend their value proposition with a data management solution, enabling them to activate an additional revenue stream and attract enterprise-level customers.
Discover key project milestones
Struggling with AOI false positives slowing your line?
Certifications:
27001 2022 / 27001 2015 / 13485
Advanced IoT Core Delivery / Advanced RDS Delivery / Advanced Tier Delivery
From medical devices to industrial automation — we deliver complete enterprise solutions with regulatory compliance built-in. Everything under one roof.
Our offices
Poland
123 al. Jerozolimskie, Warsaw, 00-001
Cyprus
8 Athinon Street, Larnaca, 6023
Estonia
12 Parda, Tallinn, 10151
USA
1080 Ximeno Ave, Long Beach, CA 90804
Germany
Marienplatz 22, Munich, 80331
Let’s Start from call scheduling
- We’ll reach out to schedule a call
- We collect your requirements
- We offer a solution
- We succeed together!
We are open for partnerships too
Check out our refferal program. Find out all benefits.