Passer à la navigation principale Passer à la recherche Passer au contenu principal

Agreeing within a few writes

  • Univ. Bordeaux

Résultats de recherche: Contribution à un journalArticleRevue par des pairs

Résumé

The notion of adopt-commit object [29] is of pivotal importance in understanding the consensus problem. This object models an attempt of the processes to agree on some common value, and precisely captures the cost of the fast path a process takes during a solo run. In this paper, we address the problem of implementing an adopt-commit object in the shared memory model in the minimal number of write operations. We consider that the number of processes (n), their identities (c), as well as the size of the input set (m) may all vary. Our first contribution is an algorithm that executes three write operations, a value we show optimal in the general case. We also prove that this number reduces to two when either m is known and bounded, or n identities are available. In the corner case where n=2, and either c=2 or the input set is finite, a single write suffices. Further, we introduce Janus, an elegant adopt-commit implementation that executes O(n) shared memory operations, including O(n) writes. Building upon Janus, we explain how to design an adopt-commit object that executes O(n−c+1) write operations. We prove that this last value is tight when the number of registers in use is bounded and m is unknown.

langue originaleAnglais
Pages (de - à)283-299
Nombre de pages17
journalTheoretical Computer Science
Volume922
Les DOIs
étatPublié - 24 juin 2022

Empreinte digitale

Examiner les sujets de recherche de « Agreeing within a few writes ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation