[Distutils] PyPI Rate Limiting

Marius Gedminas marius at pov.lt
Mon Feb 10 12:43:06 CET 2014


On Sat, Feb 08, 2014 at 05:15:21PM -0500, Ernest W. Durbin III wrote:
> The initial rates will be limited to 5 req/s per IP with bursts of 10
> requests allowed. Client requests up to the burst limit will be
> delayed to maintain a 5 req/s maximum. Any requests past the 10
> request burst will receive an HTTP 429 response code per RFC 6585.

On Mon, Feb 10, 2014 at 01:49:53AM -0800, Noah Kantrowitz wrote:
> On Feb 10, 2014, at 1:48 AM, Chris Jerdonek <chris.jerdonek at gmail.com> wrote:
> > Also, if the server isn't artificially slowing down requests, what
> > does, "Client requests up to the burst limit [of 10 requests] will be
> > delayed to maintain a 5 req/s maximum" mean?
> 
> Any requests beyond the rate limits will get an HTTP 503 with an empty body.

So is it 429 or 503?  And is there a delay or not?

Marius Gedminas
-- 
Linux is a fast moving project, with very fast evolving components. If you're
using an older distribution, older than 4 to 6 months (and anything with
"Enterprise" in the name is by definition old), please consider going to a
newer distribution.
                -- http://www.linuxpowertop.org/known.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140210/14f5fa00/attachment.sig>


More information about the Distutils-SIG mailing list