Key value store experiments, data structures and exploratory concept examples/snippets.
cd /porcupine
go test .
go test -bench=.
and
porcupine server
porcupine graph
- A ring buffer ala postgres style
- a CTrie
- a hash array mapped tree
- a merkle tree
porcupine get <key> # get a value by key
porcupine set <key> <value> # set key to a value
porcupine ls # list stored keys
porcupine rm <key> # remove an entry by key
porcupine config --list # list data-structures
porcupine config <datastore> # choose data-structure
porcupine bench