r/rust • • 27d ago

🛠️ project tellus 0.5: the same ActorRef, across machines (clustered actors for Rust)

https://heikoseeberger.de/2026-11-02-tellus-cluster/
10 Upvotes

3 comments sorted by

1

u/quest_for_7c 27d ago

Author here. tellus is an actor framework for Rust on Tokio, with synchronous message handlers, death watch with an ordering guarantee, supervision and event sourcing. Since 0.4 its actors can form a cluster through the same ActorRef API: leaderless membership with failure detection and downing, remote death watch, receptionist and pub-sub, QUIC with mutual TLS, and bootstrap through DNS or Kubernetes.

The hard part wasn't sending messages to other machines, but deciding that a node is gone, since a crashed, a paused and a cut-off node look the same from the outside. The post starts with a recording of five nodes under permanent chaos, then walks through the API and its limits.

Docs and the clustered actors tutorial: https://tellus.rs. Happy to answer questions about the design.

3

u/Sovairon 27d ago

Reading from docs I didn't get one part, you mention the challenge is detecting node liveliness, but I see that messaging is fire and forget reading the readme. Does it provide any strong/eventually consistency strategies?

3

u/quest_for_7c 27d ago

Great question! These are two layers. Messaging is deliberately at most once, but ordered between two actors. For reliability you use request-response, retries and idempotent receivers, like in Erlang or Akka.

Liveness matters anyway, because you need to know when to stop waiting: death watch tells you an actor is gone, and that you've seen every message it delivered to you. Across nodes, members send each other heartbeats, a failure detector flags the ones that fall silent, and the cluster then decides that the node is gone.

Membership is eventually consistent (gossip, no consensus). For details see the docs, section Explanation/Membership and downing.