TY - JOUR
T1 - CScript: A Distributed Programming Language for Building Mixed-Consistency Applications
AU - De Porre, Kevin
AU - Myter, Florian
AU - Scholliers, Christophe
AU - Gonzalez Boix, Elisa
PY - 2020/10
Y1 - 2020/10
N2 - Current programming models only provide abstractions for sharing data under a homogeneous consistency model. It is, however, not uncommon for a distributed application to provide strong consistency for one part of the shared data and eventual consistency for another part. Because mixing consistency models is not supported by current programming models, writing such applications is extremely difficult. In this paper we propose CScript, a distributed object-oriented programming language with built-in support for data replication. At its core are consistent and available replicated objects. CScript regulates the interactions between these objects to avoid subtle inconsistencies that arise when mixing consistency models. Our evaluation compares a collaborative text editor built atop CScript with a state-of-the-art implementation. The results show that our approach is flexible and more memory efficient.
AB - Current programming models only provide abstractions for sharing data under a homogeneous consistency model. It is, however, not uncommon for a distributed application to provide strong consistency for one part of the shared data and eventual consistency for another part. Because mixing consistency models is not supported by current programming models, writing such applications is extremely difficult. In this paper we propose CScript, a distributed object-oriented programming language with built-in support for data replication. At its core are consistent and available replicated objects. CScript regulates the interactions between these objects to avoid subtle inconsistencies that arise when mixing consistency models. Our evaluation compares a collaborative text editor built atop CScript with a state-of-the-art implementation. The results show that our approach is flexible and more memory efficient.
KW - Distribution
KW - Consistency models
KW - Replicated data types
UR - http://www.scopus.com/inward/record.url?scp=85086441831&partnerID=8YFLogxK
U2 - 10.1016/j.jpdc.2020.05.010
DO - 10.1016/j.jpdc.2020.05.010
M3 - Special issue
VL - 144
SP - 109
EP - 123
JO - Journal of Parallel and Distributed Computing
JF - Journal of Parallel and Distributed Computing
SN - 0743-7315
ER -