A Containerized Microservice Architecture for a ROS 2 Autonomous Driving Software: An End-to-End Latency Evaluation
Authors:
Preprint
Abstract
The automotive industry is transitioning from traditional ECU-based systems to software-defined vehicles. A central role of this revolution is played by containers, lightweight virtualization technologies that enable the flexible consolidation of complex software applications on a common hardware platform. Despite their widespread adoption, the impact of containerization on fundamental real-time metrics such as end-to-end latency, communication jitter, as well as memory and CPU utilization has remained virtually unexplored. This paper presents a microservice architecture for a real-world autonomous driving application where containers isolate each service. Our comprehensive evaluation shows the benefits in terms of end-to-end latency of such a solution even over standard bare-Linux deployments. Specifically, in the case of the presented microservice architecture, the mean end-to-end latency can be improved by 5-8 %. Also, the maximum latencies were significantly reduced using container deployment.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- An Analysis of Software Latency for a High-Speed Autonomous Race Car—A Case Study in the Indy Autonomous ChallengeSAE International Journal of Connected and Automated Vehicles, 2023
- TUM autonomous motorsport: An autonomous racing software for the Indy Autonomous ChallengeJournal of Field Robotics, 2023
- Automotive Service-oriented Architectures: a Systematic Mapping Study2022
- Robot Operating System 2: Design, architecture, and uses in the wildScience Robotics, 2022
- ros2_tracing: Multipurpose Low-Overhead Framework for Real-Time Tracing of ROS 2IEEE Robotics and Automation Letters, 2022
- Autoware_Perf: A tracing and performance analysis framework for ROS 2 applicationsJournal of Systems Architecture, 2022
- Virtualization Costs: Benchmarking Containers and Virtual Machines Against Bare-MetalSN Computer Science, 2021
- Oops! It's Too Late. Your Autonomous Driving System Needs a Faster MiddlewareIEEE Robotics and Automation Letters, 2021
- Hypervisor for consolidating real-time automotive control units: Its procedure, implications and hidden pitfallsJournal of Systems Architecture, 2018
- Virtualization on Internet of Things Edge Devices With Container Technologies: A Performance EvaluationIEEE Access, 2017