https://github.com/japrozs/vettel
a key value store aimed at speed and simplicity
https://github.com/japrozs/vettel
Last synced: about 2 months ago
JSON representation
a key value store aimed at speed and simplicity
- Host: GitHub
- URL: https://github.com/japrozs/vettel
- Owner: japrozs
- License: mit
- Created: 2022-12-31T22:18:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T07:52:33.000Z (over 2 years ago)
- Last Synced: 2025-04-04T19:42:01.174Z (3 months ago)
- Language: Python
- Size: 271 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vettel
A simple key-value store written in ~300 lines of C code. currently, you can perform the following commands.
# building
```bash
$ ./make.sh # will output the binary at ./out/vt
$ ./out/vt
```# benchmark results
| test (adding 1000 keys to the store) | result |
| ------------------------------------ | -------- |
| [vettel](./benchmarks/vettel.py) | `10.72s` |
| [redis](./benchmarks/redis.py) | `13.26s` |- `vettel`
```shell
________________________________________________________
Executed in 10.72 secs fish external
usr time 2.76 secs 145.00 micros 2.76 secs
sys time 5.10 secs 856.00 micros 5.10 secs```
- `redis`
```shell
________________________________________________________
Executed in 13.26 secs fish external
usr time 3.40 secs 162.00 micros 3.40 secs
sys time 6.27 secs 882.00 micros 6.26 secs```
> **_INFO:_** the above tests were ran on my mid-2012 Macbook Pro
> 