You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact

Hierarchical Resource Orchestration Framework for Real-Time Containers


Publication Type:

Journal article


ACM Transactions on Embedded Computing Systems


Association for Computing Machinery




Container-based virtualization is a promising deployment model in fog and edge computing applications because it allows a seamless co-existence of virtualized applications in a heterogeneous environment without introducing significant overhead. Certain application domains (e.g., industrial automation, automotive, or aerospace) mandate that applications exhibit a certain degree of temporal predictability. Container-based virtualization cannot be easily used for such applications since the technology is not designed to support real-time properties and handle temporal disturbances. This paper proposes a framework consisting of a static offline and a dynamic online phase for resource allocation and adaptive re-dimensioning of real-time containers. In the offline phase, the optimal initial deployment and dimensioning of containers are decided based on ideal system models. Additionally, in order to adapt to dynamic variations caused by changing workloads or interferences, the online phase adapts the CPU usage and limits of real-time containers at runtime in order to improve the real-time behavior of the real-time containerized applications while optimizing resource usage. We implement the framework in a real Linux-based system and show through a series of experiments that the proposed framework is able to adjust and re-distribute computing resources between containers in order to improve the real-time behavior of containerized applications in the presence of temporal disturbances while optimizing resource usage.


author = {V{\'a}clav Struh{\'a}r and Silviu Craciunas and Mohammad Ashjaei and Moris Behnam and Alessandro Papadopoulos},
title = {Hierarchical Resource Orchestration Framework for Real-Time Containers},
volume = {4},
pages = {1--24},
month = {April},
year = {2023},
journal = {ACM Transactions on Embedded Computing Systems},
publisher = {Association for Computing Machinery},
url = {}