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

2015-03-10 Thread Steven D'Aprano
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

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

2015-03-10 Thread Steven D'Aprano
Miki Tebeka wrote: Greetings, $ time curl -I https://pypi.python.org/pypi/ HTTP/1.1 200 OK Date: Tue, 10 Mar 2015 10:24:30 GMT ... Content-Length: 9870689 curl -I https://pypi.python.org/pypi/ 0.02s user 0.00s system 2% cpu 12.271 total $ Note the long

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

2015-03-10 Thread Chris Angelico
On Tue, Mar 10, 2015 at 10:55 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: Miki Tebeka wrote: Greetings, $ time curl -I https://pypi.python.org/pypi/ HTTP/1.1 200 OK Date: Tue, 10 Mar 2015 10:24:30 GMT ... Content-Length: 9870689 curl -I

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

2015-03-10 Thread Miki Tebeka
Greetings, $ time curl -I https://pypi.python.org/pypi/ HTTP/1.1 200 OK Date: Tue, 10 Mar 2015 10:24:30 GMT ... Content-Length: 9870689 curl -I https://pypi.python.org/pypi/ 0.02s user 0.00s system 2% cpu 12.271 total $ Note the long time (for comparison hitting

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

2015-03-10 Thread Chris Angelico
On Tue, Mar 10, 2015 at 11:24 PM, Joseph Wayodi jway...@gmail.com wrote: Does it make sense that https://pypi.python.org/pypi and https://pypi.python.org/pypi/ are completely different pages? The only difference in URLs being the slash at the end. Technically it's perfectly legal, of course,

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

2015-03-10 Thread Miki Tebeka
Thanks Chris, I was hitting the wrong URL by mistake. Didn't think an extra / will make all that difference :) On Tuesday, March 10, 2015 at 2:12:13 PM UTC+2, Chris Angelico wrote: On Tue, Mar 10, 2015 at 10:55 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: Miki Tebeka wrote:

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

2015-03-10 Thread Chris Angelico
On Tue, Mar 10, 2015 at 11:16 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: 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

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

2015-03-10 Thread Joseph Wayodi
On Tue, Mar 10, 2015 at 3:11 PM, Chris Angelico ros...@gmail.com wrote: Oh wait. What I was remembering was https://pypi.python.org/ without the extra pathing on it. And yes, that page _is_ short and fast. So that's an appropriate landing page. To the OP: You're downloading the entire list

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

2015-03-10 Thread Chris Angelico
On Wed, Mar 11, 2015 at 12:42 PM, Cameron Simpson c...@zip.com.au wrote: On 10Mar2015 23:27, Chris Angelico ros...@gmail.com wrote: Ah, sure. Especially the bit about the cache :) Though I usually find that download times on https vs http aren't all that different; it takes a little bit

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

2015-03-10 Thread Cameron Simpson
On 11Mar2015 06:50, Ben Finney ben+pyt...@benfinney.id.au wrote: Miki Tebeka miki.teb...@gmail.com writes: Thanks Chris, I was hitting the wrong URL by mistake. Didn't think an extra / will make all that difference :) It is quite astonishing, I agree. I'd even call it a bug worth reporting;

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

2015-03-10 Thread Cameron Simpson
On 10Mar2015 23:27, Chris Angelico ros...@gmail.com wrote: Ah, sure. Especially the bit about the cache :) Though I usually find that download times on https vs http aren't all that different; it takes a little bit longer to establish the connection, but less than the variation in DNS timing.

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

2015-03-10 Thread Ben Finney
Miki Tebeka miki.teb...@gmail.com writes: Thanks Chris, I was hitting the wrong URL by mistake. Didn't think an extra / will make all that difference :) It is quite astonishing, I agree. I'd even call it a bug worth reporting; those two should be the same otherwise people are going to get