Add aria2 support
Closed this issue · 5 comments
Request to support aria2 for download : https://github.com/aria2/aria2
@shuvashish76 that project looks like a back end utility. How would that improve your experience as a user of libation?
I'm not exactly sure how it works. With this tool I want to download files as fast as possible.
Mainly these 2 features (source: https://aria2.github.io/)
Multi-Connection Download. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. Really speeds up your download experience.
Lightweight. aria2 doesn’t require much memory and CPU time. When disk cache is off, the physical memory usage is typically 4MiB (normal HTTP/FTP downloads) to 9MiB (BitTorrent downloads). CPU usage in BitTorrent with download speed of 2.8MiB/sec is around 6%.
I can't be positive, but at a cursory glance, I don't see how aria2 would be any faster than what we do now.
Although I technically closed the ticket, feel free to continue the conversation. If there's a compelling reason to do so, it can certainly be re-opened.
I don't see how aria2 would be any faster than what we do now.
@rmcrackan that was my assessment as well. Libation decrypts as it downloads, and that is slower than straight downloading an encrypted audiobook (at least on my stupidly fast internet with my stupidly fast CPU). The bottleneck is the decrypt (forget about MP3 conversion which is painfully slow), and there's no way to parallelize that without a major overhaul of AAXClean which I absolutely refuse to do.
The only way we could significantly speed up liberation is by processing more than one book simultaneously. That's an upgrade I've been mulling over, and I think the architecture is good enough that we could do that without a major overhaul.