Swim: A Runtime for Distributed Event-Driven Applications

05/20/2022
by   Chris Sachs, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/07/2023

Dirigo: Self-scaling Stateful Actors For Serverless Real-time Data Processing

We propose Dirigo, a distributed stream processing service built atop vi...
research
12/07/2019

Programming Scalable Cloud Services with AEON

Designing low-latency cloud-based applications that are adaptable to unp...
research
10/03/2021

Meta-Reinforcement Learning via Buffering Graph Signatures for Live Video Streaming Events

In this study, we present a meta-learning model to adapt the predictions...
research
06/28/2019

Programming with Timespans in Interactive Visualizations

Modern interactive visualizations are akin to distributed systems, where...
research
09/24/2019

Runtime Verification over Out-of-order Streams

We present an approach for verifying systems at runtime. Our approach ta...
research
09/30/2018

A Configurable Transport Layer for CAF

The message-driven nature of actors lays a foundation for developing sca...
research
07/20/2023

An Exceptional Actor System (Functional Pearl)

The Glasgow Haskell Compiler is known for its feature-laden runtime syst...

Please sign up or login with your details

Forgot password? Click here to reset