Babel: A Framework for Developing Performant and Dependable Distributed Protocols

Pedro Fouto, Pedro Ákos Costa, Nuno Preguiça, João Leitão
5/4/2022
cs.DC

Official code: pfouto/babel-core (19 stars, Java, MIT, last commit 2023-08-03).

Abstract

Prototyping and implementing distributed algorithms, particularly those that address challenges related with fault-tolerance and dependability, is a time consuming task. This is, in part, due to the need of addressing low level aspects such as management of communication channels, controlling timeouts or periodic tasks, and dealing with concurrency issues.

Show full abstract

This has a significant impact for researchers that want to build prototypes for conducting experimental evaluation; practitioners that want to compare different design alternatives/solutions; and even for practical teaching activities on distributed algorithms courses. In this paper we present Babel, a novel framework to develop, implement, and execute distributed protocols and systems. Babel promotes an event driven programming and execution model that simplifies the task of translating typical specifications or descriptions of algorithms into performant prototypes, while allowing the programmer to focus on the relevant challenges of these algorithms by transparently handling time consuming low level aspects. Furthermore, Babel provides, and allows the definition of, networking components that can capture different network capabilities (e.g., P2P, Client/Server, phi-accrual Failure Detector), making the code mostly independent from the underlying communication aspects. Babel was built to be generic and can be used to implement a wide variety of different classes of distributed protocols. We conduct our experimental work with two relevant case studies, a Peer-to-Peer application and a State Machine Replication application, that show the generality and ease of use of Babel and present competitive performance when compared with significantly more complex implementations.

View on arXivView PDF

Code Implementations(1)

pfouto/babel-coreOfficial100%
MIT
193JavaApr 11, 20203 years agoMIT

Similar Papers

Cite this paper

@article{fouto2022babel,
  title  = {Babel: A Framework for Developing Performant and Dependable Distributed Protocols},
  author = {Pedro Fouto and Pedro Ákos Costa and Nuno Preguiça and João Leitão},
  year   = {2022},
  eprint = {2205.02106},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.02106}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.02106.svg)](https://codeofpaper.com/paper/2205.02106)

Discussion