anyaudio / anyaudio-server

:musical_note: Simple server to search youtube and give direct audio download and stream links
91 stars 19 forks source link

Use curl for faster downloading #94

Closed singhpratyush closed 8 years ago

singhpratyush commented 8 years ago

Though the Internet speed we get on Openshift is awesome, it is for sure that it can be increased several times using aria2.

One of the major advantage of using aria2 is capability of downloading using upto 16 threads -

aria2c -x 16 <url>
singhpratyush commented 8 years ago

@aviaryan : Please check if you can get aria2c running on the server.

aviaryan commented 8 years ago

What is the status here ? Should we close this issue provided that aria2c can't be build on OpenShift due to lack of some C++ libraries ?
BTW, there are some static builds of aria2c here. I think we can use them to run aria2c on the server. Can you try them ?

singhpratyush commented 8 years ago

The static builds in the link are not complete. They have some dependencies that can't be fulfilled on Openshift.

But I just tested curl in a ssh session on the server. While I got 16-28 MB/s using wget, it jumped up to 38 MB/s using curl (tried downloading Ubuntu 16.10 ISO). This is what I have read on many locations on Internet and finally tested today.

Shall we proceed with it?

aviaryan commented 8 years ago

Ok, if that's the case, let's start using curl now.