Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
/ bounce Public archive

Distribute a file from one host to many host exponentially

License

Notifications You must be signed in to change notification settings

davlxd/bounce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bounce

Distribute a file from one host to many host exponentially

means:

  • distribute the file from provider to just one host,
  • then using that host as a provider too, distribute the file to two hosts,
  • four hosts
  • ...

Prerequisite

  • Install Node and NPM on every host
  • Configure iptables on every host to allow this happen (refers to helper/add-iptables-exception.sh)
  • Figure out a way to start this process on every client host (refers to helper/start-bounce-on-client.sh)

Usage

  • Start client:
    • $ node ./index.js <directory to store to file>
  • Start server:
    • $ node ./index.js <file to distribute>

Quick Start

  • Start bounce on every client hosts
    • You can use helper/start-bounce-on-client.sh
  • Run server
    • $ node ./index.js <file to distribute>

About

Distribute a file from one host to many host exponentially

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published