Approximate shared-memory counting despite a strong adversary
Approximate shared-memory counting despite a strong adversary
复制标题
尽管对手强大,但仍近似共享内存计数
DOI:
--
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
K. Censor
中科院分区:
文献类型:
--
作者:
J. Aspnes;K. Censor
A new randomized asynchronous shared-memory data structure is given for implementing an approximate counter that can be incremented once by each of <i>n</i> processes in a model that allows up to <i>n</i>−1 crash failures. For any fixed &epsis;, the counter achieves a relative error of Δ with high probability, at the cost of <i>O</i>(((1/Δ) log <i>n</i>)<sup><i>O</i>(1/&epsis;)</sup>) register operations per increment and <i>O</i>(<i>n</i><sup>4/5+&epsis;</sup>((1/Δ) log <i>n</i>)<sup><i>O</i>(1/&epsis;)</sup>) register operations per read. The counter combines randomized sampling for estimating large values with an expander for estimating small values. This is the first counter implementation that is sublinear the number of processes and works despite a strong adversary scheduler that can observe internal states of processes.
An application of the improved counter is an improved protocol for solving randomized shared-memory consensus, which reduces the best previously known individual work complexity from <i>O</i>(<i>n</i> log <i>n</i>) to an optimal <i>O</i>(<i>n</i>), resolving one of the last remaining open problems concerning consensus in this model.