1
0
mirror of https://github.com/nxshock/zkv.git synced 2024-11-27 11:21:02 +05:00

Add resource consumption block

This commit is contained in:
nxshock 2022-12-10 22:00:08 +05:00
parent 82a36a1b9e
commit 28f43e56d5

View File

@ -86,6 +86,13 @@ File is log stuctured list of commands:
| Length | Record body bytes length | int64 |
| Body | Gob-encoded record | variable |
## Resource consumption
Store requirements:
* around 300 Mb of RAM per 1 million of keys
* around 34 Mb of disk space for index file per 1 million of keys
## TODO
- [ ] Add recovery previous state of store file on write error