raids
mini-redis
raids | mini-redis | |
---|---|---|
2 | 13 | |
4 | 3,539 | |
- | 2.5% | |
6.1 | 5.5 | |
29 days ago | about 2 months ago | |
C++ | Rust | |
Apache License 2.0 | MIT License |
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.
raids
-
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 VCPU EC2 Instance
Great work, thanks!
I'm curious whether disabling the slow kernel network features competes with an tcp bypass stack. I did my own wrk benchmark [0], but I did not try to optimize the kernel stack beyond pinning CPUs and busypoll, because the bypass was about 6 times as fast. I assumed that there is no way the kernel stack could compete with that. This article shows that I may be wrong. I will definitely check out SO_ATTACH_REUSEPORT_CBPF in the future.
[0] https://github.com/raitechnology/raids/#using-wrk-httpd-load...
-
KeyDB CEO Interview: Getting into YC with a Fork of Redis
https://github.com/raitechnology/raids/.
If you go to the landing page of the above, scroll down to the bottom, there is a TCP bypass solution graphed, using Solarflare Open Onload and it is capable of running several times as fast as the Linux Kernel TCP. I didn't test Redis with Open Onload, but I'm pretty sure you'll get a similar results since TCP is a major performance bottleneck in Redis as well.
mini-redis
-
Questions about implementing protocol specifications.
Hi, I'm trying to implement RESP with Rust (more like a mini-redis clone from tokio tutorial).
-
Beautiful rusty code
One project I found extremely easy to read and understand was mini-redis. Anything similar to that?
-
Ask HN: What are some good rust code to read to learn the language?
For learning async Rust, mini-redis repo is hard to surpass: https://github.com/tokio-rs/mini-redis
The code is simple enough for beginners to follow, but also complex enough to demonstrate Rust async in the wild. And best of all, the code is heavily commented!
You can follow the official Tokio tutorial to implement mini-redis incrementally: https://tokio.rs/tokio/tutorial/setup
-
Rust projects to learn from?
for backend async service: https://github.com/tokio-rs/mini-redis
-
How to handle CTRL+C when having multiple threads?
The official Tokio mini-Redis example has a well-documented example of shutting down worker tasks: https://github.com/tokio-rs/mini-redis/blob/master/src/shutdown.rs
-
Help me to start
Have a look at https://github.com/tokio-rs/mini-redis, written as an example of a modern rust application.
-
Intermediate projects to look how better Rustaceans code
I sure learned a ton from looking at the mini-redis implementation from the tokio team https://github.com/tokio-rs/mini-redis -- especially when you want to work with tokio! I think it's remarkably well structured and documented.
-
Distributed C++ builds in async Rust
If https://github.com/tokio-rs/mini-redis does not help answer your question, could you elaborate a bit more on your struggle and we can see if we can fit it into our docs.
-
KeyDB CEO Interview: Getting into YC with a Fork of Redis
Tokio async runtime for Rust has a tutorial in its user guide https://tokio.rs/tokio/tutorial on writing a mini-redis (https://github.com/tokio-rs/mini-redis).
-
Is there an asynchronous Hashmap or equivalent local DB?
You may be able to take inspiration from mini-redis, which is a learning resource created by the Tokio project. Its purpose is to show off many common patterns in async Rust, and a shared hashmap is one of them.
What are some alternatives?
SSDB - SSDB - A fast NoSQL database, an alternative to Redis
KeyDB - A Multithreaded Fork of Redis
Tendis - Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
dynomite - A generic dynamo implementation for different k-v storage engines
sled - the champagne of beta embedded databases
edis - An Erlang implementation of Redis
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
memKeyDB - MemKeyDB is a fork of Redis, adjusted to store objects on both Intel Optane Persistent Memory and DRAM.
rust - Empowering everyone to build reliable and efficient software.