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

自稳定开销:编码原子存储的实验研究

Self-stabilization Overhead: an Experimental Case Study on Coded Atomic Storage

Chryssis Georgiou, Robert Gustafsson, Andreas Lindhe, Elad M. Schiller

摘要:

共享内存仿真可以用作容错和高可用性的分布式存储解决方案,也可以用作低级同步原语。Attiya、Bar-Noy和Dolev是第一个提出单写入器、多读取器可线性化寄存器仿真的人,其中寄存器被复制到所有服务器。最近,Cadambe等人提出了编码原子存储(CAS)算法,该算法使用擦除编码来实现数据冗余,其通信成本比以前的算法解决方案低得多。尽管CAS可以容忍服务器崩溃,但它的设计目的并不是为了在不需要外部(人为)干预的情况下从意外的瞬时故障中恢复。在这方面,Dolev、Petig和Schiller最近开发了CAS的自稳定版本,我们称之为CASSS。正如人们所期望的那样,自我稳定并不是免费的午餐;它主要是为了检测不一致和陈旧的信息而引入的通信开销。因此,人们会怀疑自稳定引入的开销是否会抵消纠删编码的好处。为了回答这个问题,我们在PlanetLab(一个行星级分布式基础设施)上实现并实验评估了CASSS算法。评估表明,我们的实现CASSS规模非常好的服务器的数量,并发客户端的数量,以及复制对象的大小。更重要的是,它表明(a)与传统CAS算法(我们也实现了)相比,只有恒定的开销,(b)恢复期(在最后一次发生瞬时故障后)与几个客户端(读/写)操作一样快。我们的研究结果表明,CASSS不会显着影响效率,同时处理自动恢复从瞬时故障和所需资源的大小有界。

英文摘要:

Shared memory emulation can be used as a fault-tolerant and highly available distributed storage solution or as a low-level synchronization primitive. Attiya, Bar-Noy, and Dolev were the first to propose a single-writer, multi-reader linearizable register emulation where the register is replicated to all servers. Recently, Cadambe et al. proposed the Coded Atomic Storage (CAS) algorithm, which uses erasure coding for achieving data redundancy with much lower communication cost than previous algorithmic solutions. Although CAS can tolerate server crashes, it was not designed to recover from unexpected, transient faults, without the need of external (human) intervention. In this respect, Dolev, Petig, and Schiller have recently developed a self-stabilizing version of CAS, which we call CASSS. As one would expect, self-stabilization does not come as a free lunch; it introduces, mainly, communication overhead for detecting inconsistencies and stale information. So, one would wonder whether the overhead introduced by self-stabilization would nullify the gain of erasure coding. To answer this question, we have implemented and experimentally evaluated the CASSS algorithm on PlanetLab; a planetary scale distributed infrastructure. The evaluation shows that our implementation of CASSS scales very well in terms of the number of servers, the number of concurrent clients, as well as the size of the replicated object. More importantly, it shows (a) to have only a constant overhead compared to the traditional CAS algorithm (which we also implement) and (b) the recovery period (after the last occurrence of a transient fault) is as fast as a few client (read/write) operations. Our results suggest that CASSS does not significantly impact efficiency while dealing with automatic recovery from transient faults and bounded size of needed resources.

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

↑