Handles database-related components responsible for storing and retrieving crucial data. These module was developed with strong inspiration in DynamoDB's design. It features high scalability, availabilty and durability, through the use of techniques such as vector clocks, consistent hashing and hinted handoff as well as sloppy quorums.
- Run
docker compose up
-
Run the following commands:
gradlew install dist ./build/install/db/bin/db init-config
This will create a
config.yml
file to edit the cluster config. -
Edit the config.yml file with the desired cluster configuration.
-
Start the database instance using:
./build/install/db/bin/db start <instance_name>
Replace
<instance_name>
with the instance name from the config file.