arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.15610cs.DC
收藏

提升FaaS应用持续基准测试的效率与结果可靠性

Increasing Efficiency and Result Reliability of Continuous Benchmarking for FaaS Applications

Tim C. Rese, Nils Japke, Sebastian Koch, Tobias Pfandzelter, David Bermbach

AI总结:

针对FaaS平台性能波动导致持续基准测试成本高的问题,提出将两个版本函数部署在同一实例并行执行的DuetFaaS方法,在AWS Lambda上验证其可减少调用次数、缩小置信区间,提升测试效率与可靠性。

摘要:

在持续部署场景中,函数即服务(Function-as-a-Service,FaaS)应用会频繁收到更新版本,每个版本都可能引发性能回退。尽管持续基准测试(即对比更新版本与旧版本的基准测试结果)能够检测这类回退,但FaaS平台的性能波动性需要数千次函数调用,这使得持续基准测试既耗时又昂贵。\n本文提出DuetFaaS,这是一种将二重基准测试适配于FaaS应用的方法。借助DuetFaaS,我们将两个版本的FaaS函数部署在同一个云函数实例中并并行执行,以此降低平台波动性的影响。我们在AWS Lambda上运行测试,将该方法与现有最优方法进行对比评估。\n总体而言,与其他现有最优方法相比,DuetFaaS只需更少的调用次数就能准确检测性能回退。在98.41%的评估案例中,该方法得到的置信区间大小与其他方法相当或更小。在所有评估的样本量中,DuetFaaS相比同类方法有59.06%的比例实现了区间大小的缩减。

英文摘要:

In a continuous deployment setting, Function-as-a-Service (FaaS) applications frequently receive updated releases, each of which can cause a performance regression. While continuous benchmarking, i.e., comparing benchmark results of the updated and the previous version, can detect such regressions, performance variability of FaaS platforms necessitates thousands of function calls, thus, making continuous benchmarking time-intensive and expensive. In this paper, we propose DuetFaaS, an approach which adapts duet benchmarking to FaaS applications. With DuetFaaS, we deploy two versions of FaaS function in a single cloud function instance and execute them in parallel to reduce the impact of platform variability. We evaluate our approach against state-of-the-art approaches, running on AWS Lambda. Overall, DuetFaaS requires fewer invocations to accurately detect performance regressions than other state-of-the-art approaches. In 98.41% of evaluated cases, our approach provides equal or smaller confidence interval size. DuetFaaS achieves an interval size reduction in 59.06% of all evaluated sample sizes when compared to the competitive approaches.

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

↑