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

无服务器函数调度中可达性属性的复杂性

On the Complexity of Reachability Properties in Serverless Function Scheduling

Giuseppe De Palma, Saverio Giallorenzo, Jacopo Mauro, Matteo Trentin, Gianluigi Zavattaro

AI总结:

本文提出亲和性感知的调度语言aAPP,形式化其语义并研究可达性检查复杂性:无亲和性时为线性,有亲和性时为PSpace完全。

摘要:

函数即服务(FaaS)是一种无服务器云范式,其中平台管理无状态函数的执行调度(例如资源分配、运行时环境)。近期发展表明,使用领域特定语言来表达每个函数的调度策略是有益的,例如,强制将函数分配到因邻近性和连接池而具有低数据访问延迟的节点上。我们提出了aAPP,一种平台无关函数调度语言的亲和性感知扩展。我们形式化了其调度语义,然后研究了静态检查可达性属性的复杂性,例如,用于验证可信和不可信函数不能共置。通过分析aAPP的不同片段,我们表明,在没有亲和性的情况下检查策略的可达性具有线性复杂性,而亲和性使问题变为PSpace完全问题。

英文摘要:

Functions-as-a-Service (FaaS) is a Serverless Cloud paradigm where a platform manages the execution scheduling (e.g., resource allocation, runtime environments) of stateless functions. Recent developments demonstrate the benefits of using domain-specific languages to express per-function scheduling policies, e.g., enforcing the allocation of functions on nodes that enjoy low data-access latencies thanks to proximity and connection pooling. We present aAPP, an affinity-aware extension of a platform-agnostic function scheduling language. We formalise its scheduling semantics and then study the complexity of statically checking reachability properties, e.g., useful to verify that trusted and untrusted functions cannot be co-located. Analysing different fragments of aAPP, we show that checking reachability of policies without affinity has linear complexity, while affinity makes the problem PSpace.

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

↑