Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonifatius94/chord.lib
Little fun implementation of the Chord protocol
https://github.com/bonifatius94/chord.lib
chord-protocol csharp docker rest-api
Last synced: 4 days ago
JSON representation
Little fun implementation of the Chord protocol
- Host: GitHub
- URL: https://github.com/bonifatius94/chord.lib
- Owner: Bonifatius94
- License: mit
- Created: 2020-07-03T09:47:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-13T10:48:32.000Z (10 months ago)
- Last Synced: 2024-01-13T21:10:17.200Z (10 months ago)
- Topics: chord-protocol, csharp, docker, rest-api
- Language: C#
- Homepage:
- Size: 428 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chord.Lib
## About
This project is a little fun implementation of the Chord Peer-to-Peer concept
as C# .NET library.Protocols like Chord are especially useful in cloud computing because of their
very desirable properties for distributed services such as self-organization,
scalability and fault-tolerance for managing large amounts of data with
a very high service uptime.By design, there's no single-point-of-failure due to the Peer-to-Peer
nature of Chord because the nodes manage routing to each other's resources.
Services like Apache Cassandra take a very similar approach, so this
topic seems to be worth exploring.## Disclaimer
There is still WIP, so be cautious when using this code as it might not
work properly yet.## Quickstart
### Install Docker
```sh
sudo apt-get update && sudo apt-get install -y docker.io
sudo usermod docker $USER && reboot
```### Clone the Code
```sh
git clone https://github.com/Bonifatius94/Chord.Lib
cd Chord.Lib
```### Build an Example Chord Node as Docker Image
```sh
docker build . -t chord
# TODO: add docker swarm config to launch a bunch of chord nodes
```## License
This project is available under the terms of the MIT license.