Coder Social home page Coder Social logo

shikharsrivastava / distributed-download-manager Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 29 KB

It is a fault tolerant P2P Distributed Application which utilises network resources of peers on a network for fast downloading of large files.

Java 100.00%

distributed-download-manager's Introduction

Distributed Download Manager

DDM is a command line tool written in Java to distrbute large scale downloads on different machines to utilize high speed interanet connected to low speed internet.

It is strongly advised not to run this on just a single machine

Steps to make it run

  1. Connect all the computers through a network. (Wifi Hotspot works fine)
  2. Decide a server(computer) to make run the tracker. Run the file server.java on that machine. The tracker runs on the port 5000 on that machine.
  3. Enter the ip adress of machine on which tracker runs in line 111 in server.java and line 74 in downloader.java in the folder APP
  4. Copy this code to all the machines who want to participate in the downloading.
  5. Complile all the files in the APP folder and then run the MainApp.
  6. Enter the download link in the terminal
  7. If some other peers are present, the download gets distributed on them otherwise it is downloaded fully by the app itself.
  8. Close the app after one download.
  9. Each App instance has a server running on the machine that handles download for other clients and a client that manages download for this machine.

Make it run as a standalone downloader

These are the steps to run this on just a single machine as a downloader.

  1. Run the tracker server (server.java) on the machine.
  2. Enter the ip adress of machine on which tracker runs in line 111 in server.java and line 74 in downloader.java in the folder APP
  3. Complile all the files in the APP folder and then run the MainApp.
  4. Enter the download link in the terminal

distributed-download-manager's People

Contributors

shikharsrivastava avatar

Stargazers

Ferro avatar Ltre Oreki avatar Lapytska Valentin avatar Jonathan Jewell avatar Manikishan Ghantasala avatar Jayant Kapila avatar Princu avatar Sarv Shakti Singh 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.