Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hienduyph/rudis
A weird Redis Written In Rust
https://github.com/hienduyph/rudis
Last synced: 4 days ago
JSON representation
A weird Redis Written In Rust
- Host: GitHub
- URL: https://github.com/hienduyph/rudis
- Owner: hienduyph
- Created: 2022-08-17T14:56:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-27T08:10:20.000Z (over 2 years ago)
- Last Synced: 2024-11-09T06:27:51.119Z (about 2 months ago)
- Language: Rust
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rebuild Redis from Scratch
## Benchmark
**Script to run `./ben.sh`**
### Redis
```
$ redis-server
SET: 528262.00 requests per second, p50=0.255 msec
GET: 513083.62 requests per second, p50=0.255 msec
```### Python
```bash
./main.py --handle protocol
SET: 168548.80 requests per second, p50=1.463 msec
GET: 190294.95 requests per second, p50=1.263 msec
``````bash
./main.py --handle server
SET: 151998.78 requests per second, p50=1.639 msec
GET: 167140.23 requests per second, p50=1.487 msec
``````bash
./main.py --handle plain_socket
SET: 117247.04 requests per second, p50=2.111 msec
GET: 125691.30 requests per second, p50=1.967 msec
```### Rust
```bash
$ cargo run --bin redus-server --releaseSET: 475059.38 requests per second, p50=0.279 msec
GET: 467726.84 requests per second, p50=0.279 msec
```