Minos:利用函数即服务实例选择中的云性能变化
Minos: Exploiting Cloud Performance Variation with Function-as-a-Service Instance Selection
AI总结:
Minos通过主动终止慢速FaaS实例并重用快速实例,利用云性能变化,实现数据处理工作流最高13%的加速和4%的成本节省。
摘要:
无服务器函数即服务(FaaS)是一种流行的云范式,用于快速且廉价地实现复杂应用。由于云提供商启动执行用户代码的函数实例运行在共享基础设施上,其性能可能发生变化。从用户角度看,较慢的实例不仅完成时间更长,而且由于FaaS服务按使用量付费(执行时长以微秒精度计费)的模式,还会增加成本。在本文中,我们提出了Minos,一个通过有意终止较慢实例来利用这种性能变化的系统。快速实例不会被终止,以便它们可以被重新用于后续调用。一个用例是数据处理和机器学习工作流,这些工作流通常首先下载文件,在此期间Minos可以运行一个简短的基准测试。仅当基准测试通过时,函数的主体部分才实际执行。否则,请求被重新排队,实例自行崩溃,从而平台必须将请求分配给另一个(可能更快的)实例。在我们的实验中,这导致数据处理工作流的资源密集型部分加速高达13%,整体性能提升高达4%(相应地价格降低4%)。更长且复杂的工作流带来更大的节省,因为快速实例池被更频繁地重用。对于表现出这种行为(性能变化)的平台,用户通过浪费更多平台资源来获得更好的性能和节省金钱。
英文摘要:
Serverless Function-as-a-Service (FaaS) is a popular cloud paradigm to quickly and cheaply implement complex applications. Because the function instances cloud providers start to execute user code run on shared infrastructure, their performance can vary. From a user perspective, slower instances not only take longer to complete, but also increase cost due to the pay-per-use model of FaaS services where execution duration is billed with microsecond accuracy. In this paper, we present Minos, a system to take advantage of this performance variation by intentionally terminating instances that are slow. Fast instances are not terminated, so that they can be re-used for subsequent invocations. One use case for this are data processing and machine learning workflows, which often download files as a first step, during which Minos can run a short benchmark. Only if the benchmark passes, the main part of the function is actually executed. Otherwise, the request is re-queued and the instance crashes itself, so that the platform has to assign the request to another (potentially faster) instance. In our experiments, this leads to a speedup of up to 13% in the resource intensive part of a data processing workflow, resulting in up to 4% faster overall performance (and consequently 4% cheaper prices). Longer and complex workflows lead to increased savings, as the pool of fast instances is re-used more often. For platforms exhibiting this behavior, users get better performance and save money by wasting more of the platforms resources.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。