Introduction
The paradigm shift toward user-centric applications—such as augmented reality, mobile gaming, and real-time health monitoring—has exposed the limitations of traditional centralized cloud computing. The physical distance between users and remote data centers introduces significant latency, degrading the user experience. To address this, Edge-Cloud networks have emerged, placing computational resources closer to the user at the network's edge (e.g., 5G base stations).
However, modern applications are increasingly built using Microservice Architecture (MSA), where a single application is composed of numerous interdependent services. Determining the optimal placement for these microservices across a heterogeneous Edge-Cloud environment is a complex optimization problem. Placing all services at the edge risks resource exhaustion (CPU/RAM), while placing them in the cloud increases latency.
The BAMPP Approach
To solve this joint optimization challenge, the researchers developed BAMPP (Bi-Generic Advantage Actor-Critic for Microservice Placement Policy). This reinforcement learning (RL) algorithm refines the standard Actor-Critic framework to improve learning stability and deployment efficiency.
A key innovation in BAMPP is the implementation of Stable Critic Updates. By computing updates based on a state-value loss ratio, the algorithm stabilizes the learning process, preventing the high-variance "jitter" often encountered in complex network environments. The system models the network hierarchically (from User Equipment to the Cloud) and represents microservice dependencies as a Directed Acyclic Graph (DAG).
Experimental Setup and Datasets
The performance of BAMPP was evaluated using EdgeSimPy, a Python-based simulation framework. The simulation environment was modeled after the Melbourne Central Business District, incorporating realistic constraints on network bandwidth, power consumption, and computational capacity. The study tested three distinct application scales:
- Cardiovascular Health Monitoring (CHM): 4 microservices (Small scale).
- Drone Swarm Coordination (DRN): 21 microservices (Medium scale).
- E-commerce (ECOM): 34 microservices (Large scale).
Key Results and Insights
The BAMPP algorithm demonstrated superior performance across several critical metrics compared to baselines like PPO, A2C, and Integer Linear Programming (IPS):
- Execution Efficiency: BAMPP achieved an 8% reduction in execution time compared to the best-performing baseline.
- Resource Optimization: The algorithm reduced network usage by 4% and energy consumption by 2%.
- Scalability: In the large-scale ECOM scenario, BAMPP outperformed the mathematical IPS model by 91% in network usage efficiency, highlighting the strength of RL in managing complex microservice webs.
- Reliability: BAMPP exhibited lower standard deviation in reward scores, indicating more consistent and predictable performance than standard PPO.
The algorithm effectively learns to prioritize edge placement for latency-sensitive tasks while intelligently utilizing the cloud as a "safety valve" to prevent edge node overloading and subsequent service failures.
Future Directions
While BAMPP represents a significant advancement, future research will explore its performance against nature-inspired algorithms like Particle Swarm Optimization. Additionally, integrating placement logic with dynamic autoscaling and testing the algorithm's resilience to network churn (nodes joining or leaving) remain important areas for development.
Summary updated