I have a script that copies 50 or so files linked to by urls. The files average about 20 MB in size and I am using pycurl
from within a custom file_copy
function to copy them. I started several file_copy
threads in order to increase speed, but with either 4 or 8 threads I only see about a 33% speed improvement versus using a single thread.
Are threaded pycurl
functions the best choice for this use case?