当前位置: X-MOL 学术Sci. Comput. Program. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Transparent replication using metaprogramming in Cyan
Science of Computer Programming ( IF 1.5 ) Pub Date : 2020-08-05 , DOI: 10.1016/j.scico.2020.102531
Fellipe A. Ugliara , Gustavo M.D. Vieira , José de O. Guimarães

Replication can be used to increase the availability of a service by creating many operational copies of its data called replicas. Active replication is a form of replication that has strong consistency semantics, which are easier to reason about and program. However, creating replicated services using active replication still demands from the programmer the knowledge of subtleties of the replication mechanism. In this paper we show how to use the metaprogramming infrastructure of the Cyan language to shield the application programmer from these details, allowing easier creation of fault-tolerant replicated applications through simple annotations.



中文翻译:

在Cyan中使用元编程进行透明复制

复制可以通过创建其数据的许多可操作副本(称为副本)来提高服务的可用性。主动复制是一种复制形式,具有很强的一致性语义,易于推理和编程。但是,使用主动复制创建复制服务仍然需要程序员了解复制机制的精妙之处。在本文中,我们展示了如何使用Cyan语言的元编程基础结构来保护应用程序程序员免受这些细节的影响,从而允许通过简单的注释更轻松地创建容错复制的应用程序。

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