arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.06473cs.DC
收藏

FaaSched:一种抖动感知的无服务器网络

FaaSched: A Jitter-Aware Serverless Scheduler

Abhisek Panda, Smruti R. Sarangi

摘要:

无服务器计算系统正变得非常流行。Netflix、Airbnb和可口可乐等大型公司使用此类系统来运行其网站和IT系统。这种系统的优点包括对自动缩放、负载均衡和快速分布式处理的出色支持。这些是多QoS系统,其中不同类别的应用程序具有不同的延迟和抖动(延迟的变化)的要求:我们考虑延迟敏感(LS)和延迟期望(LD)的应用程序的混合。确保LS应用程序的适当可扩展性和QoS实施并非易事。我们需要在不增加LS应用的响应延迟的情况下最小化抖动,并且我们还需要检查LD应用的响应延迟的退化。这是第一篇论文在这个领域,实现了LS应用程序和LD应用程序的响应延迟之间的抖动所遭受的权衡。我们最大限度地减少前者与后者使用强化学习(RL)为基础的计划的约束。为了设计这样的RL方案,我们进行了详细的表征研究,以找到感兴趣的输入变量,定义了新的状态表示,并提出了一个定制的奖励函数,使我们能够实现这种权衡。对于一个积极的用例,包括五个流行的LS和LD应用程序,我们显示了响应时间方差和平均延迟分别减少50.31%和27.4%,LS应用程序。LD应用程序的执行延迟的平均降低限制在19.88%。

英文摘要:

Serverless computing systems are becoming very popular. Large corporations such as Netflix, Airbnb, and Coca-Cola use such systems for running their websites and IT systems. The advantages of such systems include superior support for auto-scaling, load balancing, and fast distributed processing. These are multi-QoS systems where different classes of applications have different latency and jitter (variation in the latency) requirements: we consider a mix of latency-sensitive (LS) and latency-desirable (LD) applications. Ensuring proper schedulability and QoS enforcement of LS applications is non-trivial. We need to minimize the jitter without increasing the response latency of LS applications, and we also need to keep the degradation of the response latency of LD applications in check. This is the first paper in this domain that achieves a trade-off between the jitter suffered by LS applications and the response latency of LD applications. We minimize the former with a bound on the latter using a reinforcement learning (RL) based scheme. To design such an RL scheme, we performed detailed characterization studies to find the input variables of interest, defined novel state representations, and proposed a bespoke reward function that allows us to achieve this trade-off. For an aggressive use case comprising five popular LS and LD applications each, we show a reduction in response time variance and mean latency of 50.31% and 27.4%, respectively, for LS applications. The mean degradation in the execution latency of LD applications was limited to 19.88%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑