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

Tremulant:无服务器平台中超过第99百分位的延迟

Tremulant: Latency in Serverless Platforms beyond the 99th Percentile

TU Berlin(柏林工业大学)

Linus Gustafsson, Trever Schirmer, David Bermbach

AI总结:

研究发现无服务器平台的慢暖启动长尾性能比其中值慢数百倍,且最高百分位下慢调用的暖启动占比回升,仅优化冷启动无法消除极端延迟。

摘要:

功能即服务(FaaS)通过消除管理硬件和软件运行时等运维事务,提升了开发者的生产力。由于函数实例按需启动,部分请求必须等待新实例启动,这一过程被称为冷启动。冷启动是FaaS更广泛普及的常见障碍,因为它会导致不可预测的延迟峰值,这对某些用例而言是不可接受的。为解决该问题,已实施了诸多冷启动优化措施。然而,人们对最慢的暖启动关注相对较少。随着冷启动时间的缩短,慢暖启动成为极端尾部事件的新问题。通过分析七个FaaS平台上数百万请求的数据集,我们发现慢暖启动的长尾性能可比其中值慢数百倍,而我们用作基准的虚拟机则表现出显著更高的一致性。我们在2020年至2025年间的四个独立公开数据集中均验证了这一结果,说明该效应并非新出现,也不特定于某一平台。此外,在最高百分位中,最慢调用中的暖启动占比再次上升:最极端的延迟不仅源于冷启动,仅缓解冷启动无法消除这些延迟。

英文摘要:

Function-as-a-Service (FaaS) increases developer productivity by removing operational concerns such as managing hardware and software runtimes. Because function instances are started on demand, some requests must wait for a new instance, called a cold start. These are a common obstacle to more widespread adoption of FaaS, as they lead to unpredictable latency spikes that are not acceptable for some use cases. To solve this, many cold start optimizations have been implemented. However, comparatively little attention has been directed towards the slowest warm starts. With improvements in cold start times, slow warm starts emerge as a new problem for extreme tail events. By analyzing a dataset of several million requests across seven FaaS platforms, we show that the long tail of slow warm starts can be hundreds of times slower than their median performance, while a virtual machine we use as a baseline is substantially more consistent. We confirm this across four independent public datasets spanning 2020 to 2025, so the effect is neither new nor specific to one platform. Moreover, the warm share among the slowest calls starts to rise again at the highest percentiles: the most extreme latencies are not only cold starts, and cold-start mitigation alone cannot remove them.

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

↑