OMAHA: Opportunistic Message Aggregation for pHase-based Algorithms
In the cloud computing context, several applications run concurrently over the same underlying physical infrastructure. Phase-based algorithms are key building blocks for many distributed applications such as DBMS or transaction validation services. Indeed, these applications rely on consensus or atomic validation solved by phase-based algorithms (Paxos, ZAB, two-phase commit, etc.). In each phase, at least one participant broadcasts a message and waits for the responses from a subset of the recipients before starting the next phase. For a given phase-based algorithm, it is then possible to predict future communications for each node. Based on this observation, we propose a generic and low-intrusive solution to save network bandwidth in a cloud context by aggregating messages sent by several applications in an opportunistic way. We propose a new API to easily apply our mechanism with applications using phase-based algorithms. The core of this API is the overloading of the send primitive, where the users can define a tradeoff between message saving and latency degradation. We evaluate our mechanisms using multiple instances of the same algorithm (three variants of the Paxos consensus and the Zookeeper Atomic Broadcast algorithm) running concurrently. Our results show that a good tuning of the new send primitive saves up to 30% of bandwidth with only a 5% degradation in latency.
Authors
- Jonathan Lejeune (ORCID: https://orcid.org/0000-0001-6922-2451)
- Mesaac Makpangou
- Pierre Sens (ORCID: https://orcid.org/0000-0002-5156-7715)
- Julien Sopena
- Célia Mahamdi (ORCID: https://orcid.org/0009-0001-0014-4026)
Institutions
- Centre National de la Recherche Scientifique (FR)
- Université Paris Cité (FR)
- Sorbonne Université (FR)
- LIP6 (FR)
Publication Details
- Journal
- Formal Aspects of Computing
- Published
- 2024-10-19
- DOI
- https://doi.org/10.1145/3698593
- Primary Topic
- Distributed systems and fault tolerance
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Agence Nationale de la Recherche