arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.00740cs.SEcs.DCcs.PF
收藏

随机连通性作为微服务可用性分析运行时模型的基础

A Reduced Stochastic Model of Microservice Availability: Algorithms for Identification and Formal Analysis

Innopolis University(因诺波利斯大学)

Anatoly A. Krasnovsky, Anna Maslovskaya

AI总结:

提出基于随机连通性的形式化运行时可用性模型,通过服务依赖图、复制映射和概率度量分析微服务端点弹性,支持蒙特卡洛模拟和架构假设分析。

摘要:

微服务可用性通常通过故障注入和混沌工程评估,但此类实验成本高、操作风险大,且难以针对每次架构变更重复进行。分布式追踪和部署元数据提供了更廉价的证据,然而它们通常仍停留在描述层面:仅显示哪些服务发生了交互,而非端点级别的可用性属性。本文提出一种基于随机连通性的形式化运行时可用性模型,用于面向弹性的微服务端点分析。该模型将显式故障场景下的端点可用性视为微服务弹性的可度量方面,结合了类型化服务依赖图、复制映射、节点和边状态上的概率测度以及请求特定的成功谓词。其语义将服务副本的计算故障与逻辑依赖的通信故障分离,表明复制无法补偿瓶颈依赖。该模型可从追踪和部署工件重建,为架构假设分析进行参数化,并在故障注入之前或与之并行地通过蒙特卡洛模拟进行分析。我们定义了该模型、从追踪到模型的构建过程、基本语义属性以及一项合成充分性研究。该研究在采样误差范围内匹配了封闭形式的标准情形,并揭示了由边缘瓶颈、相关故障、缺失追踪和时变故障引起的边界。

英文摘要:

Estimating microservice operation availability requires connecting runtime observations to completion of the required work within a deadline. Detailed architectural models provide one route, but their reconstruction and analysis can be costly. We present algorithms for identifying and analysing a reduced stochastic availability model from telemetry and declared operation requirements. The identification procedure constructs a joint law of execution states and retains compatible laws when observations are incomplete. Formal results establish attainable probability bounds and conditions for identifying a completion-and-deadline representation directly. This construction preserves the range obtained by evaluating the same completion-and-deadline event in the full model; a separate joint comparison describes the structural information discarded. An independent study covered three microservice applications and 18 campaigns. On complete common campaigns with point forecasts from both methods, observed mean absolute errors differed from those of independently extracted PMX/Palladio architectural models by at most 0.082 percentage points. The full graph-based workflow from telemetry to first forecast was 31.73-100.24 times faster than the studied PMX/Palladio workflow, including startup and launcher waits. Direct identification preserved the retained forecasts and intervals, with median paired first-answer savings of 5.1-11.2% relative to full execution-model analysis. The results connect required model detail to measured identification and analysis costs.

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

↑