actix
Actor framework for Rust. (by actix)
bastion
Highly-available Distributed Fault-tolerant Runtime (by bastion-rs)
actix | bastion | |
---|---|---|
15 | 15 | |
8,549 | 2,776 | |
0.7% | 0.0% | |
8.1 | 0.0 | |
3 months ago | over 1 year ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
actix
Posts with mentions or reviews of actix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-19.
-
Top 10 Rusty Repositories for you to start your Open Source Journey
9. Actix
-
Keyword Generics Progress Report: February 2023 | Inside Rust Blog
I think it's fairer to say the language got so much more powerful that there wasn't any point making actors a language feature when they can be built from existing orthogonal language features. You're probably looking for actix (not actix-web, just actix). There's also Lunatic built in Rust but supporting any actors compiled to WebAssembly.
-
An Open Source Rust SNMP Simulator
Actix is an actor framework for developing concurrent applications built on top of the Tokio asynchronous runtime. It allows multiple actors to run on a single thread, but also allows actors to run on multiple threads via Arbiters. Actors can communicate with each other by sequentially exchanging typed messages.
-
Modern JVM Multithreading • Paweł Jurczenko • Devoxx Poland 2021
I’ve seen frameworks for c++ (https://seastar.io/) and rust (https://github.com/actix/actix) which support what you’re describing out of the box.
- Scala isn't fun anymore
-
Anyone using Actix?
The actix repository on github doesn't seem to be very active, and everyone seems to be focused on actix-web instead, is anyone out there using plain actix or any other actor-model implementation in Rust?
-
What programming languages are most used for creating advanced math-related software/simulations?
Rust is also another possibility: it's basically C++ but more modern with added features and safety. It can be tricky to write mathematical stuff in it, because you may not care too much about all the safety concerns Rust forces you to handle, but it can be useful to catch bugs ahead of times. Sadly, Rust seems to have no library for running programs on clusters of PCs, except maybe this one, which takes the Actor model implemented by Actix and runs it on a cluster. I don't know how tricky it is to use the Actor model for a scientific simulation, tho.
- Actix - Actor framework for Rust.
-
How should I structure an async/await/futures program with multiple event sources and mutable state?
I'd just use Actix for that. Make your state an actor and make it a StreamHandler for each of these sources, and that's it - now you just implement the business logic for handling each message in the StreamHandler::handle methods.
-
18 factors powering the Rust revolution, Part 2 of 3
However, this isn't even 50% of what's out there: Need raw parallel power (and maybe don't need an async runtime)? Checkout Rayon. Need simple Actors for concurrent processing? Checkout Actix. Need a larger Actor system for fault tolerance/CQRS messaging? Checkout Riker. Damn, I sound like a youtube advert 🤦 - For real though, this is the tip of the concurrency iceberg. There is so much more - and it's growing.
bastion
Posts with mentions or reviews of bastion.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-06.
- Write Elixir NIFs in Rust
- Bastion – Highly-Available Distributed Fault-Tolerant Runtime for Rust
-
lunatic v0.9 released - Bringing Erlang's supervisors to Rust
How is this better / different than https://github.com/bastion-rs/bastion ?
-
Introspection in Erlang/BEAM-inspired Async-Rust-Executors?
There are attempts to implement an Erlang/BEAM-inspired reactor/runtime/executor/ecosystem for Rust's Async, in particular Bastion. (There are also Lumen, Lunatic and Async-Backplane/Async-Supervisor.)
- What is the current state of actor systems in Rust?
-
Announcing "Zestors": A simple, fast and flexible actor-framework
I would be interested in an example showing how to build a robust runtime like bastion with fault tolerance.
-
Async feedback from 2 years of usage
But the issue you're referring to, building a fault-tolerant web server where you can have granular control over killing background jobs regardless if they're blocked on a syscall, totally requires using this kind of software architecture. See Bastion.
-
Can one code different kind of multithreading paradigms in Rust (BEAM, Node, Go)?
Bastion, a Rust async runtime inspired by the beam distribution and supervision model
-
Linus Torvalds on Rust support in kernel
I don't really know much about erlang, but I think this may be along the lines of what you are thinking of: https://github.com/bastion-rs/bastion
(I also don't really think the linux kernel people would be interested...)
-
Lunatic - An Erlang inspired runtime for all programming languages
This reminds me of bastion. Looks like it attempts to fulfill the same needs, though I guess Lunatic has native WASM support whereas bastion might require some tweaking to have it work? Haven't worked with bastion, so that part of harder time with WASM is just a wild speculation. On the other hand bastion looks much more mature. Probably /u/vertexclique could give a more informed opinion about the difference between the two ;) I really like what these projects are putting forward.
What are some alternatives?
When comparing actix and bastion you can also consider the following projects:
tokio
smol - A small and fast async runtime for Rust
MIO - Metal I/O library for Rust.
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
Rocket - A web framework for Rust.
tiny-tokio-actor - A simple tiny actor library on top of Tokio
RuMqtt
rustig - A tool to detect code paths leading to Rust's panic handler
riker - Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.
async-backplane - Simple, Erlang-inspired fault-tolerance framework for Rust Futures.