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

无服务器系统中的冷启动反模式与重构:一项实证研究

Cold-Start Anti-Patterns and Refactorings in Serverless Systems: An Empirical Study

University of Michigan–Dearborn(密歇根大学迪尔伯恩分校);Wayne State University(韦恩州立大学)

Syed Salauddin Mohammad Tariq, Foyzul Hassan, Amiangshu Bosu, Probir Roy

AI总结:

本文通过实证研究,揭示无服务器系统中冷启动问题的设计反模式,提出可重复验证的SCABENCH基准和INITSCOPE分析框架,提升定位准确性和诊断效率。

摘要:

无服务器计算简化了部署和扩展,但冷启动延迟仍然是主要的性能瓶颈。与以往将缓解措施视为黑盒优化不同,我们研究冷启动作为开发者可见的设计问题。从81份经裁定的问题报告中,我们推导出初始化反模式、修复策略和诊断挑战的分类,涵盖设计、打包和运行时层。基于这些见解,我们引入了SCABENCH可重复验证的基准和INITSCOPE,一个轻量级分析框架,将加载的代码与执行的代码联系起来。在SCABENCH上,INITSCOPE将定位准确性提高了40%,诊断工作量减少了64%,而开发者研究显示任务准确性和诊断速度更高。这些结果推动了冷启动缓解在无服务器设计中的证据驱动、性能意识实践。可获取性:研究成果对未来的研究和改进公开可访问。

英文摘要:

Serverless computing simplifies deployment and scaling, yet cold-start latency remains a major performance bottleneck. Unlike prior work that treats mitigation as a black-box optimization, we study cold starts as a developer-visible design problem. From 81 adjudicated issue reports across open-source serverless systems, we derive taxonomies of initialization anti-patterns, remediation strategies, and diagnostic challenges spanning design, packaging, and runtime layers. Building on these insights, we introduce SCABENCH, a reproducible benchmark, and INITSCOPE, a lightweight analysis framework linking what code is loaded with what is executed. On SCABENCH, INITSCOPE improved localization accuracy by up to 40% and reduced diagnostic effort by 64% compared with prior tools, while a developer study showed higher task accuracy and faster diagnosis. Together, these results advance evidence-driven, performance-aware practices for cold-start mitigation in serverless design. Availability: The research artifact is publicly accessible for future studies and improvements.

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

↑