首页> 外文会议>International Conference on Coordination Models and Languages(COORDINATION 2007) >Reactors: A Data-Oriented Synchronous/Asynchronous Programming Model for Distributed Applications
【24h】

Reactors: A Data-Oriented Synchronous/Asynchronous Programming Model for Distributed Applications

机译:反应堆:用于分布式应用的数据导向的同步/异步编程模型

获取原文

摘要

Our aim is to define the kernel of a simple and uniform programming model—the reactor model—suitable for building and evolving internet-scale programs. A reactor consists of two principal components: mutable state, in the form of a fixed collection of relations, and code, in the form of a fixed collection of rules in the style of datalog. A reactor’s code is executed in response to an external stimulus, which takes the form of an attempted update to the reactor’s state. As in classical process calculi, the reactor model accommodates collections of distributed, concurrently executing processes. However, unlike classical process calculi, our observable behaviors are sequences of states, rather than sequences of messages. Similarly, the interface to a reactor is simply its state, rather than a collection of message channels, ports, or methods. One novel feature of our model is the ability to compose behaviors both synchronously and asynchronously. Also, our use of datalog-style rules allows aspect-like composition of separately-specified functional concerns in a natural way
机译:我们的目标是定义一个简单且均匀的编程模型 - 反应堆模型的内核 - 适用于建立和不断发展的互联网级计划。反应堆由两个主成分组成:可变状态,以固定的关系集合和代码的形式,以数据记录方式固定的规则集合。反应堆代码是响应于外部刺激而执行的,这将尝试更新的形式采用反应堆状态。与古典过程结石一样,反应器模型适应分布式,并发执行过程的集合。然而,与古典过程结石不同,我们可观察行为是状态的序列,而不是消息序列。类似地,对反应堆的接口只是其状态,而不是消息信道,端口或方法的集合。我们模型的一个新颖特征是能够撰写同步和异步的行为。此外,我们使用Datalog风格规则允许以自然的方式允许各种特定的功能问题的方面制作

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号