- Capable to easily store billions of records.
- Supports record addition only.
- Support for concurrency.
- Highly tunable.
- Very simple.
-
Build the
mastore
binary. -
Create a store directory (e.g. 'store') in your $HOME.
-
Create
mastore.config
in your $HOME:{ "StorePath": "$HOME/store", "MaxAccumSizeMiB": 1024, "MaxCacheSizeKiB": 1024, "MaxIndexBlockSizeKiB": 8192, "MinSingularSizeKiB": 8192, "CompressionLevel": -1, "MaxGoroutines": 1 }
-
Feed standard input of the binary with strings of form
<key>\t<value>
:mastore write < some_records.txt
-
Read all keys for the stored records:
mastore read -keys
-
Read records for a specified key:
mastore read -key=<key>
-
Enjoy!