Distributed filesystem based on kademlia dht
334
Distributed file system based on https://github.com/bmuller/kademlia for the final project of distributed systems
https://geekslabtech.github.io/kade-drive/
poetry installpoetry run server in one pc or several pc in a local networkpoetry run cli in any pc of the network and start playing with the systemmake docker or pull it from docker.hub docker pull joramas/kade-drive:latestmake shell to start the Docker container with an interactive Bash shellpoetry run server to start a server or poetry run clipip install kade-drive
from kade_drive.server import start_server
start_server()
from kade_drive.cli import ClientSession
client = ClientSession()
client.connect()
response, _ = client.put(4, 5)
# If true, it means that the value was setted correctly, false otherwise
assert response is True
value, _ = client.get(4)
assert value == 5
To run tests make shure that there is at least one server in the network.
Content type
Image
Digest
sha256:a82d7a3a9…
Size
494.1 MB
Last updated
about 3 years ago
docker pull joramas/kade-drive