Skip to content

Create a download tool #4

Open
Open

Description

@bmarwell

Create a download library and a download tool.

Algorithm:

  1. Parallel (threads = 2):
    • Get the Map<byte[], ChunkInfo> from the existing file, if exists.
    • Get the header of the remote file.
  2. Parallel (threads = ?):
    • Copy existing chunks (by hash) to outputfile.chunk.#### (where #### = chunk-num).
    • Parallel (threads = 5):
      • Download missing chunks to outputfile.chunk.#### (where #### = chunk num).
  3. Merge (cat) new header + downloaded chunks.

Activity

  1. added this to the 1.0.0 milestone on May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions