学习恢复策略以实现反应式系统中的动态自愈
Learning Recovery Strategies for Dynamic Self-healing in Reactive Systems
AI总结:
针对复杂反应式系统,本文提出用谓词监视器运行时检测故障,并通过强化学习从用户纠正序列中恢复策略,再以 COP 变体动态执行,实验验证了其有效性。
摘要:
自愈系统依赖于遵循一组预定义指令,从已知故障状态中恢复。故障状态通常基于特定领域的专用指标进行检测。故障修复在预定义的应用钩子处应用,这些钩子的表达能力不足以管理不同的故障类型。自愈通常应用于分布式系统环境,其中故障检测局限于通信问题,而解决策略通常包括替换完整组件。我们的提案面向复杂反应式系统,将监视器定义为指定系统属性可满足性条件的谓词。此类监视器具有功能表达能力,可在运行时定义,以在任何执行点检测故障状态。一旦检测到故障状态,我们使用基于强化学习的技术,根据用户的纠正序列学习恢复策略。最后,为执行学习到的策略,我们将其提取为 COP 变体;每当检测到故障状态时,这些变体就会动态激活,并用针对该状态的恢复策略覆盖基础系统行为。我们通过一个用于跟踪鼠标移动的原型反应式应用以及用于自愈系统的 DeltaIoT 范例,验证了框架的可行性和有效性。结果表明,仅通过定义监视器,该系统在第一个应用中就能在 55%–92% 的情况下有效检测故障并从中恢复,而在第二个应用中则与预定义策略表现相当。
英文摘要:
Self-healing systems depend on following a set of predefined instructions to recover from a known failure state. Failure states are generally detected based on domain specific specialized metrics. Failure fixes are applied at predefined application hooks that are not sufficiently expressive to manage different failure types. Self-healing is usually applied in the context of distributed systems, where the detection of failures is constrained to communication problems, and resolution strategies often consist of replacing complete components. Our proposal targets complex reactive systems, defining monitors as predicates specifying satisfiability conditions of system properties. Such monitors are functionally expressive and can be defined at run time to detect failure states at any execution point. Once failure states are detected, we use a Reinforcement Learning-based technique to learn a recovery strategy based on users' corrective sequences. Finally, to execute the learned strategies, we extract them as COP variations that activate dynamically whenever the failure state is detected, overwriting the base system behavior with the recovery strategy for that state. We validate the feasibility and effectiveness of our framework through a prototypical reactive application for tracking mouse movements, and the DeltaIoT exemplar for self-healing systems. Our results demonstrate that with just the definition of monitors, the system is effective in detecting and recovering from failures between 55%-92% of the cases in the first application, and at par with the predefined strategies in the second application.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。