Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wvanlit/memkv
An in-memory key-value store, following the Redis protocol, built on F#
https://github.com/wvanlit/memkv
fsharp kv-store redis
Last synced: 13 days ago
JSON representation
An in-memory key-value store, following the Redis protocol, built on F#
- Host: GitHub
- URL: https://github.com/wvanlit/memkv
- Owner: wvanlit
- Archived: true
- Created: 2024-03-03T14:40:41.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-03-03T16:45:25.000Z (11 months ago)
- Last Synced: 2024-09-29T06:22:10.195Z (4 months ago)
- Topics: fsharp, kv-store, redis
- Language: F#
- Homepage: https://codingchallenges.fyi/challenges/challenge-redis/
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MemKV
_An in-memory key-value store, following the Redis protocol, built on F#._
Inspired by [Build Your Own Redis Server](https://codingchallenges.fyi/challenges/challenge-redis) by [Coding Challenges](https://codingchallenges.fyi/).
## Release Mode Benchmark
MemKV can run about 100.000+ operations per second when running locally.
```shell
redis-benchmark -t SET,GET,INCR -n 100000 -c 10
```Output:
```
====== SET ======
100000 requests completed in 0.59 seconds
10 parallel clients
3 bytes payload
keep alive: 1
multi-thread: no99.62% <= 0.1 milliseconds
99.70% <= 0.2 milliseconds
99.72% <= 0.3 milliseconds
99.83% <= 0.4 milliseconds
99.89% <= 0.5 milliseconds
99.92% <= 0.6 milliseconds
99.93% <= 0.7 milliseconds
99.94% <= 0.8 milliseconds
99.95% <= 0.9 milliseconds
99.96% <= 1.3 milliseconds
99.96% <= 1.4 milliseconds
99.97% <= 1.9 milliseconds
99.98% <= 2 milliseconds
99.99% <= 4 milliseconds
99.99% <= 5 milliseconds
100.00% <= 7 milliseconds
100.00% <= 8 milliseconds
100.00% <= 13 milliseconds
170357.75 requests per second====== GET ======
100000 requests completed in 0.53 seconds
10 parallel clients
3 bytes payload
keep alive: 1
multi-thread: no99.97% <= 1 milliseconds
100.00% <= 1 milliseconds
188323.91 requests per second====== INCR ======
100000 requests completed in 0.54 seconds
10 parallel clients
3 bytes payload
keep alive: 1
multi-thread: no100.00% <= 1 milliseconds
186915.88 requests per second
```