mirror of
https://github.com/nxshock/zkv.git
synced 2024-11-27 11:21:02 +05:00
Add note about memory consumption
This commit is contained in:
parent
f093b7feed
commit
fe90a55322
@ -10,7 +10,7 @@ Simple key-value store for single-user applications.
|
||||
|
||||
## Cons
|
||||
|
||||
* Index stored in memory (`map[key hash (28 bytes)]file offset (int64)`)
|
||||
* Index stored in memory (`map[key hash (28 bytes)]file offset (int64)`) - average 200-250 Mb of RAM per 1M keys
|
||||
* Need to read the whole file on store open to create file index
|
||||
* No way to recover disk space from deleted records
|
||||
* Write/Delete operations block Read and each other operations
|
||||
|
Loading…
Reference in New Issue
Block a user