可靠的演员与演示
Reliable Actors with Retry Orchestration
摘要:
云开发人员必须构建对故障和中断具有弹性的应用程序。我们提倡基于参与者、重试编排和尾调用的云容错编程模型。这个模型建立在云上随时可用的持久数据存储和消息队列之上。协同编排不仅保证(1)失败的参与者调用将被重试,而且还保证(2)完成的调用永远不会重复,并且(3)它在调用堆栈内的失败之间保留严格的happen-before关系。尾调用可以将复杂的任务分解为简单的步骤,以最大限度地减少恢复期间的重复执行。我们回顾了关键的应用程序模式和故障场景。我们形式化的进程演算,以准确地捕捉该模型中的容错机制。我们简单介绍一下我们的实现。使用一个典型的企业场景启发的应用程序,我们验证我们的实现功能的正确性,并评估故障准备和恢复对性能的影响。
英文摘要:
Cloud developers have to build applications that are resilient to failures and interruptions. We advocate for a fault-tolerant programming model for the cloud based on actors, retry orchestration, and tail calls. This model builds upon persistent data stores and messages queues readily available on the cloud. Retry orchestration not only guarantees that (1) failed actor invocations will be retried but also that (2) completed invocations are never repeated and (3) it preserves a strict happen-before relationship across failures within call stacks. Tail calls can break complex tasks into simple steps to minimize re-execution during recovery. We review key application patterns and failure scenarios. We formalize a process calculus to precisely capture the mechanisms of fault tolerance in this model. We briefly describe our implementation. Using an application inspired by a typical enterprise scenario, we validate the functional correctness of our implementation and assess the impact of fault preparedness and recovery on performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。