frostfs-node/pkg
Leonard Lyubich 77e80f517f [#142] metabase: Store header value index in a tree leaf
In the previous implementation of the metabase, the unique value of the
header was assigned a bucket, the elements of which were leaves with a
key-address and an empty value. This approach was relatively efficient in
terms of write speed. However, a large number of buckets led to a rapid
increase in the database volume (~4GB for 100K objects with unique
attributes). An approach is presented with storing indexes on the value of
headers in the leaves of the tree, where the keys are the unique values ​​of
the header, and the values ​​are a serialized list of addresses (gob
encoding is temporarily used for serialization).

The new approach gave a good result in saving space (~350MB), however, it
significantly reduced the write speed with an increase in the number of
objects (~ 80x after 100K objects).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-03 18:42:32 +03:00
..
core [#85] core/container: Implement CheckFormat function 2020-11-03 14:14:38 +03:00
innerring [#141] Fix double sidechain GAS emission on asset mint 2020-11-03 16:28:01 +03:00
local_object_storage [#142] metabase: Store header value index in a tree leaf 2020-11-03 18:42:32 +03:00
morph [#127] Remove magic number from config 2020-11-02 13:54:31 +03:00
network [#84] Add GRPC layer of netmap service 2020-10-09 09:15:18 +03:00
policy [#25] Add placement policy QL encoder 2020-10-17 13:16:59 +03:00
services [#136] localstorage: Make local storage to use new metabase 2020-11-03 18:42:32 +03:00
util [#122] Add precision converter 2020-10-28 13:36:59 +03:00