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:
parent
82a36a1b9e
commit
28f43e56d5
@ -86,6 +86,13 @@ File is log stuctured list of commands:
|
|||||||
| Length | Record body bytes length | int64 |
|
| Length | Record body bytes length | int64 |
|
||||||
| Body | Gob-encoded record | variable |
|
| 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
|
## TODO
|
||||||
|
|
||||||
- [ ] Add recovery previous state of store file on write error
|
- [ ] Add recovery previous state of store file on write error
|
||||||
|
Loading…
Reference in New Issue
Block a user