31 releases (breaking)

0.31.0 Feb 10, 2023
0.29.2 Jan 31, 2023
0.27.1 Oct 26, 2022
0.26.0 Jul 22, 2022
0.15.0 Nov 17, 2021

#121 in Concurrency

Download history 68/week @ 2023-02-09 89/week @ 2023-02-16 2/week @ 2023-03-09 64/week @ 2023-03-16 4/week @ 2023-03-23 37/week @ 2023-04-06 1/week @ 2023-04-13 32/week @ 2023-04-20 1/week @ 2023-04-27 61/week @ 2023-05-04 4/week @ 2023-05-11 1/week @ 2023-05-18 35/week @ 2023-05-25

101 downloads per month




A Rust implementation of:

  • the Syndicated Actor model, including assertion-based communication, failure-handling, capability-style security, dataspace entities, and facets as a structuring principle;

  • the Syndicate network protocol, including

    • a high-speed Dataspace indexing structure (skeleton.rs; see also HOWITWORKS.md from syndicate-rkt) and

    • a standalone Syndicate protocol "broker" service (roughly comparable in scope and intent to D-Bus); and

  • a handful of example programs.

The Syndicate/rs server running.
The Syndicate/rs server running.


git clone https://git.syndicate-lang.org/syndicate-lang/syndicate-rs
cd syndicate-rs
cargo build --release
./target/release/syndicate-server -p 8001

Running the examples

In one window, start the server:

./target/release/syndicate-server -p 8001

Then, choose one of the examples below.

Producer/Consumer (sending messages)

In a second window, run a "consumer" process:


Finally, in a third window, run a "producer" process:


State producer/consumer (state replication)

Replace producer with state-producer and consumer with state-consumer, respectively, in the instructions of the previous subsection to demonstrate Syndicate state replication.

Pingpong example (latency)

In a second window, run

./target/release/examples/pingpong pong

and in a third window, run

./target/release/examples/pingpong ping

The order is important - the difference between ping and pong is about who kicks off the pingpong session.

Performance note

You may find better performance by restricting the server to fewer cores than you have available. For example, for me, running

taskset -c 0,1 ./target/release/syndicate-server -p 8001

roughly quadruples throughput for a single producer/consumer pair, on my 48-core AMD CPU.


~817K SLoC