Collaborative Resource Management and Workloads Scheduling in Cloud-Assisted Mobile Edge Computing across Timescales

Lujie Tang, Minxian Xu, Chengzhong Xu, Kejiang Ye

TL;DR

This paper introduces RMWS, a two-timescale optimization framework designed for cloud-assisted Mobile Edge Computing (MEC) environments. By decoupling slow-moving decisions (service placement and resource provisioning) from fast-moving ones (workload scheduling) under strict budget constraints, RMWS consistently reduces task response latency by at least 10% compared to state-of-the-art baselines.

What Problem Does This Paper Address?

The proliferation of Internet of Things (IoT) devices has triggered an explosion of real-time, latency-sensitive applications like smart transportation and automated factories. While traditional cloud computing offers massive elastic resources, the physical distance to centralized data centers introduces unpredictable network delays and jitter.

Mobile Edge Computing (MEC) solves this by placing computational resources closer to end-users at the network edge. However, edge servers have severe hardware limitations (storage and computation) and high operational costs. Service providers face a complex three-part challenge:

  1. Service Placement: Which services should be deployed on which edge nodes?
  2. Resource Provisioning: How much CPU capacity should be allocated to each deployed service?
  3. Workload Scheduling: How should incoming user requests be routed among local edge nodes, neighboring edge nodes, and the remote cloud?

Formulating this jointly results in a highly complex Mixed Integer Non-Linear Programming (MINLP) problem. Crucially, executing these decisions on a single timescale is impractical. Frequently changing service placement requires constantly downloading heavy application containers or databases, causing severe system instability and high configuration costs.

Fig. 1. System model.

Methods

To address the complexity and timescale mismatch, the authors propose the RMWS (Resource Management and Workloads Scheduling) framework, which splits the optimization problem into two distinct timescales:

Fig. 2. Joint optimization across two-timescale.

1. Large Timescale (Time Frames)

At the beginning of a larger time frame, the system determines service placement and resource provisioning based on long-term workload predictions. This is solved using a two-layer iterative approach:

  • Outer Layer (Service Placement): Uses a Gibbs sampling algorithm (a Markov Chain Monte Carlo method) to explore the discrete space of service placement combinations across edge nodes.
  • Inner Layer (Resource Provisioning): For a given placement, an alternating minimization algorithm optimizes resource provisioning. It leverages the Lagrange multiplier method to find closed-form solutions for CPU allocation under strict budget constraints.

2. Small Timescale (Time Slots)

Within each smaller time slot, the service placement and resource allocations are fixed. The system dynamically solves the workload scheduling problem to route actual incoming traffic. Because the objective function is continuous but non-smooth (non-differentiable when workload ratios match arrival rates), the authors design an efficient sub-gradient descent method to handle real-time routing decisions.

Fig. 3. The flowchart of the RMWS algorithm

Datasets

The paper evaluates the framework using comprehensive numerical simulations rather than a static real-world dataset, allowing the authors to stress-test the system under varying conditions:

  • Task Arrivals: Modeled as a Poisson process.
  • Service Popularity: Generated using a Zipf distribution (coefficient $e = 0.6$), mimicking realistic scenarios where a few services receive the majority of requests.
  • Traffic Volatility: Task requests per time frame follow a normal distribution ($\mu = 600$ tasks/slot, $\sigma^2 = 20$ tasks/slot).
  • Pricing: Resource costs are modeled based on real-world Alibaba Cloud edge server pricing structures.

Key Insights and Ideas

  • Timescale Decoupling is Essential: Trying to optimize container placement at the same rate as packet routing is a recipe for system failure. Separating these into macro-level placement and micro-level scheduling drastically reduces operational overhead.
  • Budget-Aware Edge-Cloud Synergy: Unlike previous works that assume fixed edge configurations or infinite budgets, this model explicitly forces a trade-off between storage and computation costs. If edge resources are too expensive or scarce, the system intelligently relies on edge-edge cooperation or cloud offloading.
  • Shadow Scheduling for Better Planning: During the large-timescale phase, the system calculates a "shadow" workload schedule. Even though this schedule isn't used to route real-time traffic, it serves as a vital mathematical proxy to evaluate whether a proposed service placement will perform well.

Key Results

The RMWS framework was compared against six baseline algorithms, including Cloud Processing Only (CPO), Popular Service Placement (PSP), and various equal-resource allocation strategies.

  • Latency Reduction: RMWS consistently achieved a minimum 10% performance enhancement (lower response time) across all tested parameter settings.
  • Scalability: When the variety of service types increased to 12, RMWS reduced response times by 10.7% to 80.9% compared to competing algorithms, demonstrating superior resource coordination.
  • Budget and Capacity Resilience: As shown in the evaluation figures, expanding the service provider's budget or the edge nodes' computational capacity allows RMWS to scale down latency effectively, outperforming non-collaborative methods.
Response time under different budget constraints.
Fig. 7. Response time under different computa- tion capacity of edge servers.

Limitations and Future Work

While the mathematical modeling and simulation results are robust, the current framework assumes that the underlying topology and user locations are relatively stable within the scheduling windows. The authors acknowledge that device mobility (e.g., users moving between different edge server regions while tasks are processing) introduces significant real-world complexity.

Consequently, their stated future work will focus on extending the RMWS framework to handle highly dynamic scenarios that incorporate the physical mobility of IoT devices.

Summary updated

BibTeX
@misc{tang2024collaborative,
  author = {Lujie Tang and Minxian Xu and Chengzhong Xu and Kejiang Ye},
  title = {{Collaborative Resource Management and Workloads Scheduling in Cloud-Assisted Mobile Edge Computing across Timescales}},
  year = {2024},
  eprint = {2405.20560},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.20560},
}
Figure