Why the use of Threads doesn't speed up my program? Java

I'm pretty new to multi-processing and i was wondering how much was it convenient to use them in multiple file's download.

Basically, i have an application (perfectly working that downloads files (images, videos...) from an URL and i wanted to speed up this downloads (now they are sequential) splitting them on multiple threads. So i created a class "PrimeThread" overriding the run method of the thread class and runned a Thread instance in the main for every download, but i don't notice any speed up in time performances.

Here's the code i...

Read More »

By: StackOverFlow - 5 days ago

Related Posts