The information flows in serverless platforms are complex and non-conservative. This is a direct result of how independently deployed functions interact under the platform coarse-grained control mechanisms. To manage this complexity, we introduce a topological model for serverless services. Using Hodge decomposition, we can separate observed operational flows into two distinct categories. They include components that can be corrected locally and harmonic modes that persist at any scale. Our analysis reveals that these harmonic flows emerge naturally from different types of inter-function interactions. They should be understood as structural properties of serverless systems, not as configuration errors. Building on this insight, we present an iterative method for analyzing inter-function flows. This method helps deriving practical remediation strategies. One such strategy is the introduction of "dumping effects" to contain harmonic inefficiencies, offering an alternative to completely restructuring the service's topological model. Our experimental results confirm that this approach can uncover latent architectural structures.
翻译:无服务器平台中的信息流具有复杂且非保守的特性,这直接源于独立部署的函数在平台粗粒度控制机制下的交互方式。为管理此类复杂性,我们提出了一种针对无服务器服务的拓扑模型。借助霍奇分解,可将观测到的运行流分解为两个独立类别:包括可在局部修正的分量,以及在任何尺度下持续存在的调和模态。分析表明,这些调和流源于不同类型的函数间交互,应被理解为无服务器系统的结构特性而非配置错误。基于此发现,我们提出一种用于分析函数间流的迭代方法,该方法有助于推导实用的修复策略。其中一种策略是引入"阻尼效应"以抑制调和低效流,从而避免完全重构服务的拓扑模型。实验结果证实,该方法能够揭示潜在的架构结构。