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
- Host: GitHub
- URL: https://github.com/dfriend01/dht
- Owner: DFriend01
- Created: 2024-08-11T22:10:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-30T08:16:42.000Z (9 months ago)
- Last Synced: 2025-09-30T09:07:09.170Z (9 months ago)
- Topics: distributed-hash-table, distributed-systems, rust
- Language: Rust
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.