A Containerized Microservice Architecture for a ROS 2 Autonomous Driving Software: An End-to-End Latency Evaluation
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.
Authors
- Alexander Zuepke (ORCID: https://orcid.org/0000-0003-0134-318X)
- Fengjunjie Pan (ORCID: https://orcid.org/0009-0005-8303-1156)
- Andrea Bastoni (ORCID: https://orcid.org/0000-0001-8256-6160)
- Marco Caccamo (ORCID: https://orcid.org/0000-0003-2328-044X)
- Tobias Betz (ORCID: https://orcid.org/0000-0003-4555-7948)
- Johannes Betz (ORCID: https://orcid.org/0000-0001-9197-2849)
- Alois Knoll (ORCID: https://orcid.org/0000-0003-4840-076X)
- Gemb Kaljavesi
- Long Wen (ORCID: https://orcid.org/0000-0001-6123-9662)
Institutions
- Technical University of Munich (DE)
Publication Details
- Published
- 2024-08-21
- DOI
- https://doi.org/10.1109/rtcsa62462.2024.00018
- Citations
- 4
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 1.40