Bottom-Up Resource Orchestration in Edge Computing: An Agent-Based Modeling Approach
Abdorasoul Ghasemi, Melanie Schranz · 2024
Edge computing addresses delay-sensitive microservices near applications, supplementing cloud computing. The dynamic nature of resources and workloads in edge clusters challenges traditional machine learning tools for resource prediction and allocation for each request (pod in the Kubernetes context). This paper models edge infrastructure as a multi-agent system with a master, a worker, and two types of arriving pods: rigid and elastic. Rigid pods have an estimate of their CPU/RAM demands, and strict execution times, and may only utilize some assigned resources, leading to slack. Elastic pods have more flexible execution times and aim to utilize these slack resources. We propose a scalable bottom-up algorithm that maintains the coarse-grained footprint of deployed rigid pods in a few buckets. The algorithm selects an appropriate bucket based on the demand of the new arriving elastic pod and chooses the host rigid pod randomly and with uniform probability from that bucket. We evaluate the system performance in terms of CPU/RAM utilization and the satisfaction rate of pods, comparing the results with random and non-scalable best strategies. Our findings show that the bottom-up swarm intelligence-inspired mechanism can complement the inefficiency in estimating the exact demand needs in a dynamic edge environment.