An open API service indexing awesome lists of open source software.

https://github.com/dfriend01/dht

In-memory distributed hash table written in rust
https://github.com/dfriend01/dht

distributed-hash-table distributed-systems rust

Last synced: 8 months ago
JSON representation

In-memory distributed hash table written in rust

Awesome Lists containing this project

README

          

# DHT

## Setup

1. Install [rust](https://doc.rust-lang.org/book/ch01-01-installation.html)

2. Install the [protobuf compiler](https://protobuf.dev/installation/)

## Run the tests

The [scripts](./dht/scripts/) directory has utility scripts to help with running tests:

- Run the unit tests: `./run_unit_tests.sh`
- Run the integration tests:
- Start up a server node in the background: `./run_servers.sh`
- Run the test script: `./run_integration_tests.sh`

The integration test script should stop all servers once the tests are complete. If something goes
wrong, `stop_servers.sh` can be used to stop the server instances.