[论文解读] Emergence-as-Code for Self-Governing Reliable Systems
一个愿景:通过把旅程意图与运行时证据结合起来,使端到端旅程的可靠性可计算,产出有界的 SLO 和治理产物,并可以在类似 GitOps 的循环中自动对账。
SLO-as-code has made per-service} reliability declarative, but user experience is defined by journeys whose reliability is an emergent property of microservice topology, routing, redundancy, timeouts/fallbacks, shared failure domains, and tail amplification. As a result, journey objectives (e.g., "checkout p99 < 400 ms") are often maintained outside code and drift as the system evolves, forcing teams to either miss user expectations or over-provision and gate releases with ad-hoc heuristics. We propose Emergence-as-Code (EmaC), a vision for making journey reliability computable and governable via intent plus evidence. An EmaC spec declares journey intent (objective, control-flow operators, allowed actions) and binds it to atomic SLOs and telemetry. A runtime inference component consumes operational artifacts (e.g., tracing and traffic configuration) to synthesize a candidate journey model with provenance and confidence. From the last accepted model, the EmaC compiler/controller derives bounded journey SLOs and budgets under explicit correlation assumptions (optimistic independence vs. pessimistic shared fate), and emits control-plane artifacts (burn-rate alerts, rollout gates, action guards) that are reviewable in a Git workflow. An anonymized artifact repository provides a runnable example specification and generated outputs.
研究动机与目标
- 解决微服务架构中各服务 SLO 与端到端旅程可靠性之间的漂移问题。
- 提出一个声明式的 EmaC 规范,用以表达旅程意图并将其绑定到原子 SLO 和遥测。
- 引入一个基于推理的流水线,在显式相关性假设下推导旅程模型和有界 SLO。
- 提供一个治理契约,将派生的 SLO 和预算转换为可操作的控制平面产物(告警、门控、滚动发布),置于 MAPE-K 循环中。
- 通过以 Git 为中心的工作流,实现可审计、版本化、保守的自动化。
提出的方法
- 定义用于旅程级弹性(resilience)的 SLO-as-code 的意图+证据扩展。
- 引入一个小型运算符代数,用以沿旅程图组合可用性和延迟。
- 描述一个运行时推理组件,合成具有拓扑感知的旅程模型以及来源与置信度的溯源信息。
- 在显式相关性假设下,从最后一个被接受的模型导出有界旅程 SLO、预算和控制平面产物。
- 输出产物包括燃耗告警、渐进式交付门控和行动守卫,均可通过 Git 差异发布。
实验结果
研究问题
- RQ1在弱信号下,如何结合拓扑证据和事件,进行失败域(共同命运)推理?
- RQ2如何在重试、超时和对冲中组合尾部延迟,以保持可分析性?
- RQ3哪些置信/门控规则决定推断的增量何时自动更新产物、何时需要审查?
- RQ4反事实分析是否能预测更改对旅程分布和预算的影响,在门控有用的边界内?
- RQ5不确定性呈现与治理工作流应如何支持可维护的旅程 SLO 所有权?
主要发现
- EmaC 能够基于明确的意图与拓扑与遥测证据,计算旅程级 SLO 和预算。
- SLO 以区间形式呈现,明确的独立性与共同命运假设,从而产生保守的边界。
- 治理契约将派生的旅程 SLO 转换为可操作的控制平面产物(告警、门控、滚动发布约束)。
- 该方法支持以 GitOps 风格存储意图和最近接受的模型,并将生成的清单以可审阅的 diff 形式呈现。
- 一个匿名化的产物库演示了可运行的旅程规范与生成输出(Prometheus/Argo Rollouts)。
- 该框架强调具备漂移感知的对账与溯源能力,以支持可审计的自动化。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。