arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.07623cs.PLcs.DC
收藏

使用青色元编程的透明复制

Transparent Replication Using Metaprogramming in Cyan

Fellipe A. Ugliara, Gustavo M. D. Vieira, José de O. Guimarães

摘要:

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

英文摘要:

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, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑