A modular approach to shared-memory consensus, with applications to the probabilistic-write model
A modular approach to shared-memory consensus, with applications to the probabilistic-write model
复制标题
共享内存共识的模块化方法,以及概率写入模型的应用
DOI:
10.1007/s00446-011-0134-8
复制
发表时间:
2010
影响因子:
1.3
通讯作者:
J. Aspnes
中科院分区:
文献类型:
--
作者:
J. Aspnes
We show that consensus can be solved by an alternating sequence of adopt-commit objects (Gafni in Proceedings of the seventeenth annual ACM symposium on principles of distributed computing, pp 143–152, 1998; Alistarh et al. in ISAAC, Lecture notes in computer science, vol 5878. Springer, Berlin, pp 943–953, 2009), which detect agreement, and conciliators, which ensure agreement with some probability. We observe that most known randomized consensus algorithms have this structure. We give a deterministic implementation of an m-valued adopt-commit object for an unbounded number of processes that uses lg m + Θ(log log m) space and individual work. We also give a randomized conciliator for any number of values in the probabilistic-write model with n processes that guarantees agreement with constant probability while using one multi-writer register, O(log n) expected individual work, and Θ(n) expected total work. Combining these objects gives a consensus protocol for the probabilistic-write model that uses O(log m + log n) individual work and O(n log m) total work. No previous protocol in this model uses sublinear individual work or linear total work for constant m.