arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1303.5891cs.DC
收藏

基于融合状态机的分布式系统容错

Fault Tolerance in Distributed Systems using Fused State Machines

Bharath Balasubramanian, Vijay K. Garg

摘要:

复制是在被建模为确定性有限状态机(DFSM或机器)的分布式系统中用于容错的标准技术。为了纠正n台不同机器之间的f崩溃或f/2拜占庭故障,复制需要nf台额外的备份机器。我们提出了一种称为融合的解决方案,只需要额外的备份机器。首先,我们建立了一个框架,容错的基础上的概念,汉明距离的DFSM。我们引入了(f,m)融合的概念,这是一组m个备份机器,可以纠正f崩溃故障或f/2拜占庭故障之间的一组给定的机器。其次,我们提出了一个算法来生成一个(f,f)融合一组给定的机器。我们确保我们的备份在其状态和事件集的大小方面是有效的。我们对广泛使用的MCNC'91 DFSM基准的融合评估表明,融合(过度复制)的平均状态空间节省为38%(范围0-99%)。为了展示融合的实际用途,我们描述了它在MapReduce框架中的潜在应用。使用一个简单的案例研究,我们比较复制和融合应用到这个框架。一个纯粹的基于复制的解决方案需要180万个地图任务,而我们基于融合的解决方案只需要140万个地图任务,在正常操作或恢复期间的开销最小。因此,融合导致状态空间和其他资源(诸如运行备份任务所需的功率)的相当大的节省。

英文摘要:

Replication is a standard technique for fault tolerance in distributed systems modeled as deterministic finite state machines (DFSMs or machines). To correct f crash or f/2 Byzantine faults among n different machines, replication requires nf additional backup machines. We present a solution called fusion that requires just f additional backup machines. First, we build a framework for fault tolerance in DFSMs based on the notion of Hamming distances. We introduce the concept of an (f,m)-fusion, which is a set of m backup machines that can correct f crash faults or f/2 Byzantine faults among a given set of machines. Second, we present an algorithm to generate an (f,f)-fusion for a given set of machines. We ensure that our backups are efficient in terms of the size of their state and event sets. Our evaluation of fusion on the widely used MCNC'91 benchmarks for DFSMs show that the average state space savings in fusion (over replication) is 38% (range 0-99%). To demonstrate the practical use of fusion, we describe its potential application to the MapReduce framework. Using a simple case study, we compare replication and fusion as applied to this framework. While a pure replication-based solution requires 1.8 million map tasks, our fusion-based solution requires only 1.4 million map tasks with minimal overhead during normal operation or recovery. Hence, fusion results in considerable savings in state space and other resources such as the power needed to run the backup tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑