leapfrog
Lock-free concurrent and single-threaded hash map implementations using Leapfrog probing. Currently the highest performance concurrent HashMap in Rust for certain use cases. (by robclu)
actix
Actor framework for Rust. (by actix)
leapfrog | actix | |
---|---|---|
3 | 15 | |
185 | 8,394 | |
- | 0.5% | |
4.4 | 8.1 | |
7 months ago | 6 days 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.
leapfrog
Posts with mentions or reviews of leapfrog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-15.
-
Leapfrog 0.2.0 (improved concurrent rust hashmap)
I'm announcing v 0.2.0 of leapfrog (crate), which adds new features and fixes the collision problems of the previous version. The performance is slightly reduced, but not by much and the maps are still very fast.
-
On my way to make the production rusty
You can try Leapfrog as your concurrent hashmap implementation https://github.com/robclu/leapfrog. I recently stumbled across it and was pleased by its performance
-
Announcing Leapfrog, a faster concurrent HashMap
For a personal project I needed a concurrent HashMap, so thought I would port one of the fast C++ hashmaps to Rust., which I have called Leapfrog. The API is similar to the HashMap in the std library, but to improve concurrent performance it is slightly different in places.
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.
What are some alternatives?
When comparing leapfrog and actix you can also consider the following projects:
dashmap - Blazing fast concurrent HashMap for Rust.
tokio
hashbrown - Rust port of Google's SwissTable hash map
bastion - Highly-available Distributed Fault-tolerant Runtime
indicium - A simple in-memory search for collections and key-value stores.
Rocket - A web framework for Rust.
conc-map-bench - Fork of rust concurrent hash map bencmarks to include leapfrog map.
MIO - Metal I/O library for Rust.
lib-wc - A simple rust library
RuMqtt
seize - Fast, efficient, and robust memory reclamation for Rust.
riker - Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.