[Distutils] [Infrastructure] Good news everyone, PyPI is behind a CDN

holger krekel holger at merlinux.eu
Mon May 27 14:57:27 CEST 2013


On Sun, May 26, 2013 at 13:39 -0400, Donald Stufft wrote:
> On May 26, 2013, at 1:34 PM, Noah Kantrowitz <noah at coderanger.net> wrote:
> 
> > </farnsworth>
> > 
> > but seriously, at long last today it was my honor to throw the DNS switch to move PyPI to the Fastly caching CDN. I would like to thank Donald Stufft for doing much of the heavy lifting on the PyPI side, and to Fastly for graciously offering to host us. What does this mean for everyone? Well the biggest change is PyPI should get a whole lot faster. There are two major downsides however. There will now be a delay of several minutes in some cases between updating a package and having it be installable, and download counts will now be even more incorrect than they were before. The PyPI admins are discussing what to do about download counts long-term, but for now we all feel that the performance and availability benefits outweigh the loss. If anyone has any questions, or hears anything about issues with PyPI please don't hesitate to contact me.
> > 
> > --Noah
> > 
> > ________________________________________________
> > Infrastructure mailing list
> > Infrastructure at python.org
> > http://mail.python.org/mailman/listinfo/infrastructure
> > Unsubscribe: http://mail.python.org/mailman/options/infrastructure/donald%40stufft.io
> 
> One addition. Eventually PyPI will move towards using the Fastly API for cache invalidation so that uploading a new package _will_ be immediately available. But that was deferred in order to get the larger benefit *now*.

Good intention, but it seems to break the changelog api and 
thus mirroring (see my other post) :/

>From the fastly website it seems simple to invalidate "simple/PROJECT/"
when a PROJECT package is registered/uploaded, before triggering a changelog
serial update and returning a success code.

holger


> 
> -----------------
> Donald Stufft
> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
> 



> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig



More information about the Distutils-SIG mailing list