Git Product home page Git Product logo

decentralized-p2p-client-server's Introduction

Decentralized-P2P-Client-server

This project aim to develop Decentralized peer-to-peer (P2P) file sharing system based hashing function to distribute files on server.

Decentralized-p2p-Sharing-System has two components:

  1. A Decentralized indexing server: Decentralized Index Server act as a server as well as broker for another Index Server to maintain a decentralized registry of connected peer information. Each Index Server keeps its connected peer information like peername, peerfiles list name, replication server etc. in a registry object.

Operations:

registry(peer id, file name, ...) -- invoked by a peer to register all its files with the indexing server. The server then builds the index for the peer. Other sophisticated algorithms such as automatic indexing are not required, but feel free to do whatever is reasonable. You may provide optional information to the server to make it more 'real', such as the clients’ bandwidth, etc.

search(file name) -- this procedure should search the index and return all the matching peers to the requestor.
  1. A peer: A peer is both a client and a server. As a client, the user specifies a file name with the indexing server using "lookup". The indexing server returns a list of all other peers that hold the file. The user can pick one such peer and the client then connects to this peer and downloads the file. As a server, the peer waits for requests from other peers and sends the requested file

Design

Detailed Description of design is documented in Design.pdf

Prerequisities, Installation and Running

Please follow the steps given in Manual.pdf

Testing and Performance

Detailed benchmark is given in Performance.pdf

decentralized-p2p-client-server's People

Contributors

aakash7864 avatar

Watchers

James Cloos avatar  avatar

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.