In this paper we propose a method for analyzing services deployed in serverless platforms. These services typically consists of orchestrated functions that can exhibit complex and non-conservative information flows due to the interaction of independently deployed functions under coarse-grained control mechanisms. We introduce a topological model of serverless services and make use of the Hodge decomposition to partition observed operational flows into locally correctable components and globally persistent harmonic modes. Our analysis shows that harmonic flows naturally arise from different kind of interactions among functions and should be interpreted as structural properties of serverless systems rather than configuration errors. We present a systematic methodology for analyzing inter-function flows and deriving actionable remediation strategies, including dumping effects to contain the effects of harmonic inefficiencies as an alternative to completely restructure the topological model of the service. Experimental results confirm that the proposed approach can uncover latent architectural structures leading to inefficiencies.
翻译:本文提出一种分析部署于无服务器平台服务的方法。此类服务通常由编排函数构成,由于粗粒度控制机制下独立部署函数间的交互作用,可能表现出复杂且非保守的信息流。我们引入无服务器服务的拓扑模型,并利用Hodge分解将观测到的运行流分解为局部可校正分量与全局持续调和模态。分析表明,调和流天然产生于函数间不同类型的交互作用,应被解释为无服务器系统的结构特性而非配置错误。我们提出系统化的函数间流分析方法与可执行修复策略推导方法,包括通过阻尼效应抑制调和低效性影响作为替代完全重构服务拓扑模型的方案。实验结果证实,所提方法能够揭示导致低效性的潜在架构结构。