Combining Declarative and Linear Programming for Application Management in the Cloud-Edge Continuum
Jacopo Massa, Stefano Forti, Patrizio Dazzi, Antonio Brogi
TL;DR
Problem: efficient, data-aware placement of multi-component applications in the Cloud-Edge continuum under dynamic infrastructure. Approach: a hybrid EdgeWise framework—first a declarative preprocessing stage (with continuous reasoning in EdgeWiseCR) to filter candidates and reuse placements, then a MILP optimizer to obtain cost-efficient mappings. Contributions: an extended EdgeWiseCR pipeline with continuous reasoning, an open-source implementation, and extensive experiments up to 2048 nodes showing up to 65% faster planning and improved stability with modest cost increases. Significance: enables scalable, adaptive deployment of data-intensive, multi-service applications in real-world, failure-prone Cloud-Edge environments.
Abstract
This work investigates the data-aware multi-service application placement problem in Cloud-Edge settings. We previously introduced EdgeWise, a hybrid approach that combines declarative programming with Mixed-Integer Linear Programming (MILP) to determine optimal placements that minimise operational costs and unnecessary data transfers. The declarative stage pre-processes infrastructure constraints to improve the efficiency of the MILP solver, achieving optimal placements in terms of operational costs, with significantly reduced execution times. In this extended version, we improve the declarative stage with continuous reasoning, presenting EdgeWiseCR, which enables the system to reuse existing placements and reduce unnecessary recomputation and service migrations. In addition, we conducted an expanded experimental evaluation considering multiple applications, diverse network topologies, and large-scale infrastructures with dynamic failures. The results show that EdgeWiseCR achieves up to 65% faster execution compared to EdgeWise, while preserving placement stability under dynamic conditions.
