doc: readme - performance

This commit is contained in:
Anton
2024-06-10 10:13:25 +05:00
parent 22d9def071
commit 45e88a2f1d
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ Redka comes in two flavors:
## Performance
According to the [benchmarks](docs/performance.md), Redka is several times slower than Redis. Still, it can do 26K writes/sec and 94K reads/sec on a Macbook Air, which is pretty good if you ask me (and probably 10x more than most applications will ever need).
According to the [benchmarks](docs/performance.md), Redka is several times slower than Redis. Still, it can do up to 100K op/sec on a Macbook Air, which is pretty good if you ask me (and probably 10x more than most applications will ever need).
Redka stores data in a [SQLite database](docs/persistence.md) with a simple schema and provides views for better introspection.

View File

@@ -45,8 +45,8 @@ Redka (persisted to disk):
./redka -p 6380 data.db
redis-benchmark -p 6380 -q -c 10 -n 1000000 -r 10000 -t get,set
SET: 26028.11 requests per second, p50=0.215 msec
GET: 93923.17 requests per second, p50=0.071 msec
SET: 26773.76 requests per second, p50=0.215 msec
GET: 103092.78 requests per second, p50=0.063 msec
```
So while Redka is 2-5 times slower than Redis (not surprising, since we are comparing a relational database to a key-value data store), it can still do 26K writes/sec and 94K reads/sec, which is pretty good if you ask me.