Alexandria is a raft-based distributed key-value database from scratch.
- check configuration at
config.yaml
- docker compose up
- send requests to any peer
available commands:
- list collections:
list
- create collection:
create {collection_name}
- get entry:
get {collection_name} {key}
- create entry:
write {collection_name} {key} {value}
- delete entry:
delete {collection_name} {key}
- docker compose up
- send request: (use -L flag to follow redirects, since followers nodes redirects
some requests to leader)
curl -L -X POST -d "get test a" 192.30.101:5000 && echo
- implement bloom filter on storage
- update storage underlying structure
- implement sstable compression