pulp / pulpcore

Pulp 3 pulpcore package https://pypi.org/project/pulpcore/
GNU General Public License v2.0
297 stars 115 forks source link

downloading metadata from pull-through cache is slow #5144

Open dkliban opened 7 months ago

dkliban commented 7 months ago

Version 0.5.0

Describe the bug When building a project with bundler, the metadata download step is significantly slower than when using rubygems.org directly as the source.

I believe this is because Pulp does not cache metadata. Maybe we could redirect users directly to the remote's URL for metadata?

dkliban commented 6 months ago

We were able to work around this issue by pointing bundler at rubygems.org and only configuring gem to use Pulp. This is only a workaround when using Pulp Gem plugin.

mdellweg commented 6 months ago

Does the client perform ranged requests to the metadata files?