HyCoR:基于检查点和重放的容错复制容器
HyCoR: Fault-Tolerant Replicated Containers Based on Checkpoint and Replay
摘要:
HyCoR是一种用于多处理器工作负载的完全可操作的容错机制,基于容器复制,使用检查点和重放的混合。HyCoR源自关于复制机制的两个见解:1)确定性重放可以克服单独检查点的关键缺点-输出到客户端的不可接受的长延迟,以及2)检查点可以克服单独使用确定性重放的主动复制的关键缺点-由于未跟踪的非确定性事件而导致的甚至罕见的重放失败的脆弱性。使用HyCoR,主节点定期向备份节点发送检查点,并记录不确定性来源的结果。到客户端的输出仅延迟将相应日志发送到备份所需的较短时间。在主检查点发生故障时,备份仅重放自最后一个检查点以来的较短时间间隔,从而最大限度地减少漏洞窗口。HyCoR包括一个“尽力而为”的机制,即使在存在数据竞争的情况下,只要它们的速率很低,也会导致高恢复率。评估包括恢复率和恢复延迟的测量故障注入的基础上。平均而言,HyCoR对客户端的响应延迟不到1 ms,恢复时间不到1 s。对于一组八个真实世界的基准测试,如果消除数据竞争,HyCoR的性能开销低于59%。
英文摘要:
HyCoR is a fully-operational fault tolerance mechanism for multiprocessor workloads, based on container replication, using a hybrid of checkpointing and replay. HyCoR derives from two insights regarding replication mechanisms: 1) deterministic replay can overcome a key disadvantage of checkpointing alone -- unacceptably long delays of outputs to clients, and 2) checkpointing can overcome a key disadvantage of active replication with deterministic replay alone -- vulnerability to even rare replay failures due to an untracked nondeterministic events. With HyCoR, the primary sends periodic checkpoints to the backup and logs the outcomes of sources of nondeterminism. Outputs to clients are delayed only by the short time it takes to send the corresponding log to the backup. Upon primary failure, the backup replays only the short interval since the last checkpoint, thus minimizing the window of vulnerability. HyCoR includes a "best effort" mechanism that results in a high recovery rate even in the presence of data races, as long as their rate is low. The evaluation includes measurement of the recovery rate and recovery latency based on fault injection. On average, HyCoR delays responses to clients by less than 1ms and recovers in less than 1s. For a set of eight real-world benchmarks, if data races are eliminated, the performance overhead of HyCoR is under 59%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。