Did https://pypi.python.org/pypi/ became huge and slow?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Mar 10 08:16:14 EDT 2015


Chris Angelico wrote:

[...]
>> You're downloading via https, which has more overhead than http. There's
>> a certificate that needs to be checked, the content can't be cached, and
>> there's the cost of encryption.
> 
> Those costs don't factor in here; the content-length is what the
> server announces as the number of bytes of oncoming payload.

I'm talking about the time taken to download, not the size. Downloading 9MB
of encrypted data over https will be slower than downloading 9MB from a
local cache over http :-)


> To the OP: You're downloading the entire list of packages, which is
> why it's taking so long.


That seems to be the likely explanation.



-- 
Steven




More information about the Python-list mailing list