The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::ManiacDownloader - a maniac download accelerator.

VERSION

version 0.0.13

SYNOPSIS

    # To download with 10 segments
    $ mdown -k=10 http://path.to.my.url.tld/path-to-file.txt

DESCRIPTION

This is Maniac Downloader, a maniac download accelerator. It is currently very incomplete (see the TODO.txt file), but is still somewhat usable. Maniac Downloader is being written out of necessity out of proving to improve the download speed of files here (which I suspect is caused by a misconfiguration of my ISP's networking), and as a result, may prove of use elsewhere.

The Secret Sauce

The main improvement of Maniac Downloader over other downloader managers is that if a segment of the downloaded file finishes, then it splits the largest remaining segment, and starts another new download, so the slowest downloads won't delay the completion time by much.

Answers to Questions about Maniac Downloader

Does Maniac Downloader always guarantee the best possible speed of download?

The short answer is: “No”. The longer answer is that in today’s Internet and networking world, there are simply too many factors at play to make sure that downloading using a certain way will always be the fastest. Maniac Downloader uses a certain scheme which may make things faster on certain conditions (namely that individual connections is being capped), but it may make the performance somewhat worse as well.

One thing we hope to guarantee is that it won’t make the download time much longer. If it does, please let us know.

METHODS

$self->run({argv => [@ARGV]})

Run the application with @ARGV .

SEE ALSO

Asynchronous Programming FTW! 2 (with AnyEvent)

http://www.slideshare.net/xSawyer/async-programmingftwanyevent

a talk by Sawyer X that introduced me to AnyEvent of which I made use for Maniac Downloader.

“Man Down”

“Man Down” is a song by Rihanna, which happens to have the same initialism as Maniac Downloader, and which I happen to like, so feel free to check it out:

http://www.youtube.com/watch?v=sEhy-RXkNo0

SUPPORT

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests by email to bug-app-maniacdownloader at rt.cpan.org, or through the web interface at https://rt.cpan.org/Public/Bug/Report.html?Queue=App-ManiacDownloader. You will be automatically notified of any progress on the request by the system.

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/shlomif/maniac-downloader

  git clone git://github.com/shlomif/maniac-downloader.git

AUTHOR

Shlomi Fish <shlomif@cpan.org>

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/shlomif/maniac-downloader/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Shlomi Fish.

This is free software, licensed under:

  The MIT (X11) License