Skip to content

ldclakmal/distributed-overlay-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Content Searching in a Distributed Overlay Network

CS4262 Distributed Systems

Simple overlay-based solution that allows a set of nodes to share contents (e.g., music files) among each other. Consider a set of nodes connected via some overlay topology. Each of the nodes has a set of files that it is willing to share with other nodes. A node in the system (X) that is looking for a particular file issues a query to identify a node (Y) containing that particular file. Once the node is identified, the file can be exchanged between X and Y.

Dependencies


  • java_version : 1.8
  • maven_version : 3.5

Set up the project

  • Make a clone of this project

  • Build the project in order to create .jar file

$ mvn clean install
  • Execute .jar file created in /target directory in each node providing following attributes
-b  ip of the bootstrapserver
-i  ip of the node
-p  port of the node
-u  username of the node

Example

$ java -jar idstack-cs4262.jar -b 192.168.1.1 -i 10.10.0.1 -p 44444 -u node1

Notes

Before start nodes bootstrap server should start.

About

CS4262 - Distributed Systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages