基于编排设计的可靠性和容错
Reliability and Fault-Tolerance by Choreographic Design
摘要:
分布式程序很难做到正确,因为它们需要是开放的、可伸缩的、长期运行的和容错的。特别是,最近的方法,分布式软件的基础上(微)服务,不同的服务是由不同的团队独立开发加剧了这个问题。事实上,服务应该组合在一起,并在可能出现不可预测行为的开放环境中运行。这就需要采用合适的策略来监控程序的执行,并结合恢复和自适应机制,使分布式程序更加灵活和健壮。目前采用的典型方法是将这些机制嵌入到程序逻辑中,这使得提取、比较和调试变得困难。我们提出了一种采用正式抽象来指定故障恢复和适应策略的方法。虽然实现不可知,但这些抽象将服从于代码、监视和测试的算法合成。我们考虑在学术界和工业界都获得发展势头的消息传递程序(a la Erlang,Go或MPI)。我们的研究议程包括:(1)正式的行为模型,包括故障的定义,(2)规格的相关属性的适应和恢复策略,(3)自动生成的监测,恢复和适应逻辑在目标语言的利益。
英文摘要:
Distributed programs are hard to get right because they are required to be open, scalable, long-running, and tolerant to faults. In particular, the recent approaches to distributed software based on (micro-)services where different services are developed independently by disparate teams exacerbate the problem. In fact, services are meant to be composed together and run in open context where unpredictable behaviours can emerge. This makes it necessary to adopt suitable strategies for monitoring the execution and incorporate recovery and adaptation mechanisms so to make distributed programs more flexible and robust. The typical approach that is currently adopted is to embed such mechanisms in the program logic, which makes it hard to extract, compare and debug. We propose an approach that employs formal abstractions for specifying failure recovery and adaptation strategies. Although implementation agnostic, these abstractions would be amenable to algorithmic synthesis of code, monitoring and tests. We consider message-passing programs (a la Erlang, Go, or MPI) that are gaining momentum both in academia and industry. Our research agenda consists of (1) the definition of formal behavioural models encompassing failures, (2) the specification of the relevant properties of adaptation and recovery strategy, (3) the automatic generation of monitoring, recovery, and adaptation logic in target languages of interest.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。