arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.03089cs.DC
收藏

无服务器计算用于短时、轻量级流的抽象

Serverless Abstractions for Short-Running, Lightweight Streams

Technische Universität Berlin(柏林工业大学)

Natalie Carl, Niklas Kowallik, Constantin Stahl, Trever Schirmer, Tobias Pfandzelter, David Bermbach

AI总结:

流函数通过基于迭代器的接口,为短时、轻量级流提供高效处理,减少99%的处理开销。

摘要:

无服务器计算和流处理代表了事件驱动数据处理的两种主导范式,但两者都做出了假设,使它们在处理短时、轻量级且不可预测的流时效率低下,这些流需要状态ful处理。我们提出流函数作为函数即服务模型的新扩展,将短流作为执行、状态和扩展的单位。流函数通过基于迭代器的接口处理流,使事件间逻辑无缝衔接,同时保留无服务器平台提供的弹性和按需扩展能力。我们的评估显示,与成熟的流处理引擎相比,在视频处理用例中,流函数将处理开销减少了约99%。通过提供与无服务器函数相当的性能和流语义,流函数为现有模型无法满足的一类工作负载提供了有效的、高效的抽象。

英文摘要:

Serverless computing and stream processing represent two dominant paradigms for event-driven data processing, yet both make assumptions that render them inefficient for short-running, lightweight, and unpredictable streams that require stateful processing. We propose stream functions as a novel extension of the Function-as-a-Serivce model that treat short streams as the unit of execution, state, and scaling. Stream functions process streams via an iterator-based interface, enabling seamless inter-event logic while retaining the elasticity and scale-to-zero capabilities offered by serverless platforms. Our evaluation shows that stream functions reduce the processing overhead by ~99 % compared to a mature stream process- ing engine in a video-processing use case. By providing comparable performance to serverless functions with stream semantics, stream functions provide an effective and efficient abstractions for a class of workloads underserved by existing models.

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

↑