Giter Club home page Giter Club logo

misterabdullahaziz / kademlia-implementation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 7.27 MB

The objective of this is to produce a working Distributed Data Store (DDS). In contrast to a traditional database, a DDS stores its data objects on many different computers rather than only one. These computers together make up a single storage network, which internally keeps track of what objects are stored and which nodes keep copies of them. The system will be able to store and locate data objects by their hashes in such a storage network, which is formed by many running instances of your system.

Dockerfile 0.95% Go 98.36% Shell 0.70%

kademlia-implementation's Introduction

Kademlia-Implementation

The objective of this is to produce a working Distributed Data Store (DDS). In contrast to a traditional database, a DDS stores its data objects on many different computers rather than only one. These computers together make up a single storage network, which internally keeps track of what objects are stored and which nodes keep copies of them. The system will be able to store and locate data objects by their hashes in such a storage network, which is formed by many running instances of your system.

Simple network with nodes that can PING eachother To build and run:

/bin/bash ./build.sh

It will spin the number of nodes (kademlia_nodes) mentioned in the file build.sh

docker-compose up --scale kademlia_nodes=3

In another terminal,

docker container ls

it will show you the list of containers running.

you can attach to specific container by

docker attach container_name

You will attach to the CLI running in the container. This will wait for inputs to send PING, GET, STORE, or EXIT commands

Examples:

PING IP_of_Node
PUT data
GET data
STORE data IP-Of_Node

References:

###Thanks

kademlia-implementation's People

Contributors

misterabdullahaziz avatar

Watchers

James Cloos avatar

Forkers

jniva

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.