arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1312.2699cs.PLcs.LO
收藏

具有自适应功能的会话类型:概述和示例

Session Types with Runtime Adaptation: Overview and Examples

Cinzia Di Giusto, Jorge A. Pérez

摘要:

在最近的工作中,我们已经开发了一个会话类型的纪律演算,其特点是会话建立和通信的常用结构,但也有两个新的结构,使通信过程被停止,复制,或在运行时丢弃。目的是理解用于结构化通信的静态分析的已知技术是否可扩展到上下文感知的、可适应的分布式系统的具有挑战性的上下文,其中纪律化的交互和运行时适应是交织的关注点。在这篇简短的笔记中,我们总结了我们的会话类型框架的主要功能,并回顾了它的基本正确性属性。我们通过例子来说明我们的框架。特别是,我们提出了一个会话表示的监督树,执行容错应用程序的Erlang语言的机制。

英文摘要:

In recent work, we have developed a session types discipline for a calculus that features the usual constructs for session establishment and communication, but also two novel constructs that enable communicating processes to be stopped, duplicated, or discarded at runtime. The aim is to understand whether known techniques for the static analysis of structured communications scale up to the challenging context of context-aware, adaptable distributed systems, in which disciplined interaction and runtime adaptation are intertwined concerns. In this short note, we summarize the main features of our session-typed framework with runtime adaptation, and recall its basic correctness properties. We illustrate our framework by means of examples. In particular, we present a session representation of supervision trees, a mechanism for enforcing fault-tolerant applications in the Erlang language.

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

↑