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

Swim:分布式事件驱动应用程序的一个实例

Swim: A Runtime for Distributed Event-Driven Applications

Chris Sachs, Ajay Govindarajan, Simon Crosby

摘要:

Swim扩展了Actor模型,以支持由链接的分布式Actor组成的应用程序,这些应用程序持续分析来自数百万个源的无限事件流,以与现实世界同步响应。Swim从流事件构建一个正在运行的应用程序,创建一个分布式的、链接的、有状态的、并发的流参与者图,覆盖在运行时实例的网格上。流参与者是并行分析新事件并修改其状态的图中的顶点。链接是图中的边,是绑定到参与者的流API的URI。Swim运行时使用基于操作的CRDT将每个参与者状态更改通过其链接流式传输到其他(可能是远程)参与者,这些CRDT异步更新远程缓存的参与者状态副本。这使得本地参与者可以随时使用远程状态的最新副本进行计算。参与者评估参数函数,包括地理空间,分析和预测,以发现新的关系并建立或断开链接,动态调整Bronchlow图以模拟不断变化的现实世界。Swim应用程序体积小,功能强大,资源效率高,并且可以轻松地与现实世界保持同步,实时分析,学习和预测。

英文摘要:

Swim extends the actor model to support applications composed of linked distributed actors that continuously analyze boundless streams of events from millions of sources, to respond in-sync with the real-world. Swim builds a running application from streaming events, creating a distributed dataflow graph of linked, stateful, concurrent streaming actors that is overlaid on a mesh of runtime instances. Streaming actors are vertices in the dataflow graph that concurrently analyze new events and modify their states. A link is an edge in the graph and is a URI binding to an actor's streaming API. The Swim runtime streams every actor state change over its links to other (possibly remote) actors using op-based CRDTs that asynchronously update remotely cached actor state replicas. This frees local actors to compute at any time, using the latest replicas of remote state. Actors evaluate parametric functions, including geospatial, analytical, and predictive, to discover new relationships and forge or break links, dynamically adapting the dataflow graph to model the changing real-world. Swim applications are tiny, robust and resource efficient, and remain effortlessly in-sync with the real-world, analyzing, learning, and predicting on-the-fly.

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

↑