重振微重启:用于微服务系统的安全并行恢复架构支持
Rebooting Microreboot: Architectural Support for Safe, Parallel Recovery in Microservice Systems
AI总结:
本文提出一种安全并行恢复架构,通过分离规划与执行,利用类型化的修复计划和微内核确保安全,实验证明其在工业级数据和故障注入测试中有效减少修复带来的损害。
摘要:
Microreboot通过仅重启故障组件实现快速恢复,但在现代微服务中,简单重启存在安全隐患:密集依赖意味着重启一个服务会中断多个调用者。自主修复代理进一步加剧了这一问题,因为它们执行原始基础设施命令而不提供安全保障。我们通过分离规划与执行使微重启变得实用:一种三代理架构(诊断、规划、验证)在七动作ISA上提出类型化的修复计划,并通过小型微内核验证和执行每个计划。代理被显式地视为不可信;安全性源于ISA和微内核。为了确定重启是否安全,我们在线从分布式跟踪中推断恢复边界,计算最小重启组和顺序约束。在工业跟踪(阿里云、Meta)和DeathStarBench中,恢复组推断在P99下运行21毫秒;类型化执行将代理导致的损害减少95%(模拟中)并实现0%在线损害。主要价值是安全,而非速度:LLM推理开销会增加服务的TTR。
英文摘要:
Microreboot enables fast recovery by restarting only the failing component, but in modern microservices naive restarts are unsafe: dense dependencies mean rebooting one service can disrupt many callers. Autonomous remediation agents compound this by actuating raw infrastructure commands without safety guarantees. We make microreboot practical by separating planning from actuation: a three-agent architecture (diagnosis, planning, verification) proposes typed remediation plans over a seven-action ISA with explicit side-effect semantics, and a small microkernel validates and executes each plan transactionally. Agents are explicitly untrusted; safety derives from the ISA and microkernel. To determine where restart is safe, we infer recovery boundaries online from distributed traces, computing minimal restart groups and ordering constraints. On industrial traces (Alibaba, Meta) and DeathStarBench with fault injection, recovery-group inference runs in 21 ms at P99; typed actuation reduces agent-caused harm by 95% in simulation and achieves 0% harm online. The primary value is safety, not speed: LLM inference overhead increases TTR for services with fast auto-restart.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。