首页> 外文会议>IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing >Beyond Load Balancing: Package-Aware Scheduling for Serverless Platforms
【24h】

Beyond Load Balancing: Package-Aware Scheduling for Serverless Platforms

机译:超越负载平衡:无服务器平台的软件包感知调度

获取原文

摘要

Fast deployment and execution of cloud functions in Function-as-a-Service (FaaS) platforms is critical, for example, for microservices architectures. However, functions that require large packages or libraries are bloated and start slowly. An optimization is to cache packages at the worker nodes instead of bundling them with the functions. However, existing FaaS schedulers are vanilla load balancers, agnostic of packages cached in response to prior function executions, and cannot properly reap the benefits of package caching. We study the case of package-aware scheduling and propose PASch, a novel scheduling algorithm that seeks package affinity during scheduling so that worker nodes can re-use execution environments with preloaded packages. PASch leverages consistent hashing and the power of 2 choices, while actively avoiding worker overload. We implement PASch in a new scheduler for the OpenLambda framework and evaluate it using simulations and real experiments. When using PASch instead of a least loaded balancer, tasks perceive an average speedup of 1.29×, and 80th percentile latency that is 23× faster. Furthermore, for the workload studied in this paper, PASch outperforms consistent hashing with bounded loads-a state-of-the-art load balancing algorithm-yielding a 1.3× average speedup, and a speedup of 1.5× at the 80th percentile.
机译:功能即服务(FaaS)平台中云功能的快速部署和执行对于微服务体系结构至关重要。但是,需要大型程序包或库的功能过时且启动缓慢。一种优化是将程序包缓存在工作程序节点上,而不是将其与功能捆绑在一起。但是,现有的FaaS调度程序是普通的负载平衡器,无法响应先前的函数执行而缓存了程序包,并且无法适当地获得程序包缓存的好处。我们研究了程序包感知的调度情况,并提出了PASch,这是一种新颖的调度算法,该算法在调度过程中寻求程序包亲和性,以便工作节点可以重用预加载程序包的执行环境。 PASch利用一致的散列和2个选择的功能,同时积极避免了工作程序超载。我们在针对OpenLambda框架的新调度程序中实现PASch,并使用模拟和实际实验对其进行评估。当使用PASch而不是负载最少的平衡器时,任务感知到的平均加速为1.29倍,并且第80个百分位数的延迟快了23倍。此外,对于本文研究的工作负载,PASch在有限负载下的表现优于一致性哈希,这是一种最新的负载平衡算法,其平均速度提高了1.3倍,在第80个百分位数时提高了1.5倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号