当前位置: X-MOL 学术J. Parallel Distrib. Comput. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
CScript: A distributed programming language for building mixed-consistency applications
Journal of Parallel and Distributed Computing ( IF 3.8 ) Pub Date : 2020-05-30 , DOI: 10.1016/j.jpdc.2020.05.010
Kevin De Porre , Florian Myter , Christophe Scholliers , Elisa Gonzalez Boix

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.



中文翻译:

CScript:一种用于构建混合一致性应用程序的分布式编程语言

当前的编程模型仅提供用于在同类一致性模型下共享数据的抽象。但是,分布式应用程序为共享数据的一部分提供强一致性,而为另一部分提供最终一致性并不少见。由于当前的编程模型不支持混合一致性模型,因此编写此类应用程序非常困难。在本文中,我们提出了CScript,这是一种分布式的面向对象的编程语言,内置了对数据复制的支持。其核心是一致且可用的复制对象。CScript调节这些对象之间的交互,以避免在混合一致性模型时出现细微的不一致。我们的评估将基于CScript的协作文本编辑器与最新的实现方式进行了比较。

更新日期:2020-05-30
down
wechat
bug