You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With pooch, we are able to download large datasets on demand, and no longer need to distribute them with scikit-image. We need a place to host the datasets now.
For my blog, I host on GitHub pages and add Cloudflare CDN on top of it, and this might work really well.
We can also consider GitLab, which has more generous bandwidth limits — in fact, no bandwidth limits, just a 5GB storage limit, which should be plenty.
why github pages instead of just a github repo, where we would put the link to the master code arborescence in the registry?
(a) because github URLs are not super nice, compared to eg. data.scikit-image.org/astronaut.png.
(b) I don't know what github bandwidth limits are, if any, but I was suspicious that several CI runs failed after we started using pooch. I'm not sure whether they were related but I became paranoid about hitting bandwidth limits or some other kind of distribution issues, e.g. too many simultaneous hits to the same file getting an IP blocked as suspicious.
do we think we'll have so many downloads that we'll need the CDN / SSL ?
As above, I'm not sure but I was suspicious. I don't remember the setup being hard, and if we start using large files, it might actually speed things up for data downloads around the world.
About bandwidth, we will probably want to add the files to the CI cache if this is possible, so that we don't download the files every time the doc is built (since we will probably want to write examples using our datasets).
Activity
emmanuelle commentedon Apr 12, 2020
Hi @jni, some naive questions on my end
I agree that Gitlab is an interesting alternative since the total size of the example files could exceed 1 Go.
We should also make sure that we don't use
download_allin our tests when the repo starts to be big...jni commentedon Apr 12, 2020
(a) because github URLs are not super nice, compared to eg.
data.scikit-image.org/astronaut.png.(b) I don't know what github bandwidth limits are, if any, but I was suspicious that several CI runs failed after we started using pooch. I'm not sure whether they were related but I became paranoid about hitting bandwidth limits or some other kind of distribution issues, e.g. too many simultaneous hits to the same file getting an IP blocked as suspicious.
As above, I'm not sure but I was suspicious. I don't remember the setup being hard, and if we start using large files, it might actually speed things up for data downloads around the world.
emmanuelle commentedon Apr 12, 2020
ok but the idea is to put the URL in the registry and just use
load, right? So we should not really care about how URLs look?emmanuelle commentedon Apr 12, 2020
About bandwidth, we will probably want to add the files to the CI cache if this is possible, so that we don't download the files every time the doc is built (since we will probably want to write examples using our datasets).
grlee77 commentedon Mar 2, 2022
This seems to be resolved (we used https://gitlab.com/scikit-image/data/ for this purpose)