From 28f43e56d5abc320dfeaf00294bd6433fdfe6133 Mon Sep 17 00:00:00 2001 From: nxshock Date: Sat, 10 Dec 2022 22:00:08 +0500 Subject: [PATCH] Add resource consumption block --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f27c5e2..cfa473f 100644 --- a/README.md +++ b/README.md @@ -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