Minor impactResolvedDevOps

PyPI incident: Notice: PyPI Mass CDN Purge

PyPI reported this minor-impact incident on its official status page on Jul 29, 2022, 15:19 UTC. It was resolved after 3h 42m.

Right now PyPI is operational. Live PyPI status →

🔔 Get alerted when PyPI has issuesFree · email alerts · no credit card
Jul 29, 2022, 15:19 UTC
started
Jul 29, 2022, 19:01 UTC
resolved
3h 42m
duration
Minor
impact

Affected components

  • pypi.org - Backends
  • pypi.org - CDN
  1. resolvedJul 29, 2022, 19:01 UTC

    Our CDN hit rate and latencies have recovered, this event is now resolved.

  2. monitoringJul 29, 2022, 16:30 UTC

    Error rates have returned to baseline, and latencies continue to return to normal across our services. We will continue to monitor as the database upgrades complete and caches re-fill.

  3. monitoringJul 29, 2022, 16:03 UTC

    Our backends have begun to stabilize as the caches are refilled. During the peak of the backend traffic from our CDN we recognized a few bottlenecks in our database layer and have provisioned additional storage IOPs in order to reduce impact of surges in the future.

  4. monitoringJul 29, 2022, 15:30 UTC

    Purge All has been issued and we are monitoring as the backends attempt to meet the request volume. We anticipate that the service will continue to stabilize and reach steady state over the next 30-90 minutes.

  5. monitoringJul 29, 2022, 15:19 UTC

    In order to resolve an issue in our CDN cache caused by a misconfiguration of Surrogate-Keys, PyPI will need to issue a "Purge All" of our CDN to clear out lingering cached objects that are not accessible to purge individually. This purge is very likely to impact performance when accessing PyPI for some time. In order to avoid purges like this in the future, our backends have been configured with Surrogate-Keys that will at least allow us to purge specific endpoint types rather than the entire service.

What APIStatus.watch saw

Our 5-minute checks didn't record a change in PyPI's overall status around this incident. Smaller or regional incidents often leave a provider's overall status green.

How often does PyPI have incidents?

PyPI reported 3 incidents in the last 90 days, 1 of them major or critical. A typical incident lasted 6h 3m. See PyPI's uptime and incident history

PyPI incident on Jul 29, 2022: Notice: PyPI Mass CDN Purge · APIStatus.watch