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
- Connect all the computers through a network. (Wifi Hotspot works fine)
- 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.
- 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
- Copy this code to all the machines who want to participate in the downloading.
- Complile all the files in the APP folder and then run the MainApp.
- Enter the download link in the terminal
- If some other peers are present, the download gets distributed on them otherwise it is downloaded fully by the app itself.
- Close the app after one download.
- 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.
These are the steps to run this on just a single machine as a downloader.
- Run the tracker server (server.java) on the machine.
- 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
- Complile all the files in the APP folder and then run the MainApp.
- Enter the download link in the terminal