conda / infrastructure

A repo to report issues and have discussions about the conda infrastructure
BSD 3-Clause "New" or "Revised" License
11 stars 15 forks source link

Slow request times with https://api.anaconda.org/package/conda-forge/cupy #928

Open jakirkham opened 2 months ago

jakirkham commented 2 months ago

We are seeing slow request times with cupy from Anaconda.org

@kmaehashi put together a nice example of this in this comment ( https://github.com/conda-forge/cupy-feedstock/issues/270#issuecomment-2081908982 ) quoted below:

It seems the badge uses the anaconda API. Just a wild guess but shileds.io has some parse size/time limit?

% curl -s https://api.anaconda.org/package/conda-forge/cupy | wc
  429732  656384 10675675
% curl -s https://api.anaconda.org/package/conda-forge/numpy | wc
  211623  332622 5539668

It appears it is taking twice as long to make requests of cupy on Anaconda.org as numpy

cc @leofang

jakirkham commented 2 months ago

Show add have a similar experience using the browser to visit: https://anaconda.org/conda-forge/cupy

jakirkham commented 1 month ago

Retried this just now and saw similar results

% curl -s https://api.anaconda.org/package/conda-forge/cupy | wc
  431188  658992 10722877
% curl -s https://api.anaconda.org/package/conda-forge/numpy | wc
  214432  337772 5630813

cc @jezdez (for awareness)

leofang commented 1 month ago

@jezdez do you know who should we route this issue to? 🙂

leofang commented 1 month ago

@jezdez For context, the actual issue that we are trying to address is the CuPy icon is not working: https://github.com/conda-forge/cupy-feedstock/issues/270. As long as it is restored, I honestly don't care how long the request time is 😅

jezdez commented 1 month ago

@leofang I bubbled it up at Anaconda to see what the problem is, I don't know myself