Bastion – Highly-Available Distributed Fault-Tolerant Runtime for Rust
github.com
github.com
I wrote a multithreaded actor implementation in Java without locks that can reach throughputs of 19 million assuming a batch size of 10 messages at a time.
I am curious what a Rust message passing implementation throughputs would scale to given that it is a multithreaded problem and there's cost to synchronization. Synchronization is expensive.
https://github.com/samsquire/multiversion-concurrency-contro...
I am not that familiar with Erlang's supervision hierarchies.
You could do something similar to ActiveMQ and rebroadcast a message until it is acknowledged.
Please don't raise facile, generic objections.
supervisor
.broadcast("A message containing data.")
.expect("Couldn't broadcast the message.");
As a non-native English speaker, the word expect tricks me up here. Is this use correct? supervisor
.broadcast("A message containing data.")
.expect("message broadcast should not fail");
Although even if you are a native English speaker, this is dubious improvement if you don’t know what Option types are and what .expect() does with them.[1] https://doc.rust-lang.org/std/option/enum.Option.html#recomm...
; @ D