Skip to content

Index v2 (ocaml-kc / kv-hash) #371

@tomjridge

Description

@tomjridge

A possible replacement for Index is here: https://github.com/tomjridge/kv-hash

It is also informally known as: ocaml-kc (for Kyoto Cabinet - an inspiration for the implementation) and kv-hash (i.e., a key-value store based on a persistent hashtable approach) and possibly index-v2.

If we replace the index in this repo with the kv-hash alternative, then a lot of the current issues disappear. In particular, the "blocking merge" problem is not observed with kv-hash during irmin tree.exe bench replay of Tezos traces.

I'm opening this issue mainly so that there is a record that a lot of the other issues may be redundant. As an example, here are some issues that might be redundant if we move to index-v2:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions