基于无服务器边缘计算下的服务负载调度算法
2024-05-24高明陈国扬
高明 陈国扬



摘 要:随着边缘计算的不断发展,其在资源管理配置方面逐渐出现相关问题,无服务器计算作为一种新的方式可以有效解决边缘计算的相关问题。然而,无服务器计算不具备在分布式边缘场景中高效处理请求所需服务负载调度的能力,针对这一问题,提出了一种基于无服务器边缘计算的服务负载调度算法(service load scheduling algorithm,SLSA)。SLSA的核心是通过隐式建模充分考虑了动态变化的节点状态、负载调度器放置等影响因素来优化整体时延,然后通过改进的平滑加权轮询调度(smooth weighted round robin,SWRR)算法进行服务调度。经仿真实验分析,SLSA在资源消耗上有着明显下降,同时在单城市场景与多城市场景下均有良好的性能表现,其中在单城市场景中相对于集中式轮询调度(round robin centralized,RRC)算法提升了43.01%,在多城市场景中提升了53.81%。实验结果表明,SLSA可以有效降低资源消耗率并提升性能。
关键词:边缘计算; 无服务器计算; 负载调度; 性能对比
中图分类号:TP393 文献标志码:A
文章编号:1001-3695(2024)03-024-0811-07
doi:10.19734/j.issn.1001-3695.2023.07.0295
Service load scheduling algorithm based on serverless edge computing
Gao Ming, Chen Guoyang
(School of Information & Electronic Engineering, Zhejiang Gongshang University, Hangzhou 310018, China)
Abstract:With the continuous development of edge computing, there are gradually related problems in resource management and configuration. As a new way, serverless computing can effectively solve the related problems of edge computing. However, serverless computing does not have the ability to efficiently process requests in distributed edge scenarios. To solve this problem, this paper proposed a service load scheduling algorithm(SLSA) based on serverless edge computing. The core of SLSA was to fully consider the dynamic changes of node status, load scheduler placement and other influencing factors through implicit modeling to optimize the overall delay, and then used the improved smooth weighted round robin(SWRR) scheduling algorithm for service scheduling. The simulation results show that SLSA has a significant reduction in resource consumption, and has good performance in both single-city scenarios and multi-city scenarios. In the single-city scenario, SLSA is 43.01% higher than the RRC algorithm. It improves 53.81% in multi-city scenarios. Experimental results show that SLSA can effectively reduce the resource consumption rate and improve the performance.
Key words:edge computing; serverless computing; load scheduling; performance comparison
0 引言
隨着大量互联网应用(如虚拟现实、人工智能等)的不断发展,数据量日益增长,由于网络远距离传输的不确定性,云计算这种集中处理模式对于那些实时性和可靠性要求比较高的应用场景非常不适用[1]。边缘计算在此背景下应运而生,它在靠近用户侧的网络边缘部署云计算环境,就近处理数据和计算任务,可以有效处理大量任务需求,相比于传统的云计算更高效、更安全[2]。但也正是由于边缘计算靠近数据源头,其工作环境更为复杂,存在大量的分布式异构设备和资源,这为管理和维护这些设备以确保它们的正常运行和安全性带来了极大的困难。……
