OptiFog: A Framework to Optimize the Placement of Microservices in Fog Scenarios
The Fog computing paradigm makes use of dispersed, diverse, and resource-limited devices located at the network edge to effectively implement Internet of Things (IoT) application services that demand low latency and substantial bandwidth. At the same time, the adoption of microservice-based architectures in the IoT domain is on the rise due to their ability to align with the swift evolution and deployment demands of highly dynamic IoT applications and to elastically scale to fulfill load demands. In complex environments like Fog federations, characterized by highly heterogeneous computing and networking resources, the effective allocation of microservices to available nodes, while ensuring compliance with required Quality of Service (QoS) constraints, represents a significant challenge. In this paper, we present the design and implementation of OptiFog, a comprehensive framework that enables users to model, simulate, and validate microservice placement solutions within a realistic testbed environment. Compared to state-of-the-art approaches, OptiFog offers developers a controlled environment for experimenting with placement solutions while providing the assurance that the resulting deployments will meet the targeted QoS requirements in real-world scenarios, specifically in terms of service execution time and energy consumption of Fog nodes. To demonstrate the feasibility of the proposed approach, we implemented and evaluated a representative use case, involving both sub-optimal and optimal microservice placement, and utilizing real-world microservices drawn from the IoT domain.
Authors
- Claudia Canali (ORCID: https://orcid.org/0000-0001-8448-7693)
- Francesco Faenza (ORCID: https://orcid.org/0000-0002-7258-7192)
- Domenico Scotece (ORCID: https://orcid.org/0000-0003-3824-197X)
- Luca Foschini (ORCID: https://orcid.org/0000-0001-9062-3647)
- Riccardo Lancellotti (ORCID: https://orcid.org/0000-0002-9470-8784)
- Giuseppe Modica (ORCID: https://orcid.org/0000-0002-0298-7828)
Institutions
- University of Modena and Reggio Emilia (IT)
- University of Bologna (IT)
Publication Details
- Journal
- IEEE Transactions on Network and Service Management
- Published
- 2025-12-25
- DOI
- https://doi.org/10.1109/tnsm.2025.3648449
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00