一种可配置的CAF传输层
A Configurable Transport Layer for CAF
摘要:
参与者的消息驱动特性为开发可伸缩的分布式软件奠定了基础。虽然参与者本身已经完全建模,但消息传递层缺乏通用定义。消息交换的属性和保证经常随实现和上下文而变化。这增加了开发过程的复杂性,限制了可移植性,并消除了分布式参与者系统的透明度。在这项工作中,我们研究演员通信,重点是可靠和有序的交付的实施和运行时成本。这两种保证通常都基于用于远程消息传递的TCP,它将网络传输与消息传递的语义混合在一起。然而,运输的选择可能遵循不同的限制,并往往取决于部署。作为重新架构参与者到参与者通信的第一步,我们将消息传递保证与传输协议解耦。我们通过重新设计C++ Actor Framework(CAF)的网络堆栈来验证我们的方法,以便它可以将任意传输协议与远程消息传递的附加功能相结合。评估量化了可组合性的成本以及各个层对整个堆栈的影响。
英文摘要:
The message-driven nature of actors lays a foundation for developing scalable and distributed software. While the actor itself has been thoroughly modeled, the message passing layer lacks a common definition. Properties and guarantees of message exchange often shift with implementations and contexts. This adds complexity to the development process, limits portability, and removes transparency from distributed actor systems. In this work, we examine actor communication, focusing on the implementation and runtime costs of reliable and ordered delivery. Both guarantees are often based on TCP for remote messaging, which mixes network transport with the semantics of messaging. However, the choice of transport may follow different constraints and is often governed by deployment. As a first step towards re-architecting actor-to-actor communication, we decouple the messaging guarantees from the transport protocol. We validate our approach by redesigning the network stack of the C++ Actor Framework (CAF) so that it allows to combine an arbitrary transport protocol with additional functions for remote messaging. An evaluation quantifies the cost of composability and the impact of individual layers on the entire stack.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。