Fetch compact index API sources in parallel
Open
Nobody has claimed this yet.
Bundler
- Dominant language
- Ruby
- Stars
- 4k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 81
Description
This is an optimization that will benefit Gemfile that contains gem pulled from multiple servers exposing the compact index API.
Right now, on a cold cache, Bundler will fetch the compact index API for each server serially. This operation is quite fast, but we can make it even faster.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Bundler's compact index API fetching when a Gemfile uses gems from multiple servers, focusing on the cold-cache path. Confirm the current serial behavior and identify the relevant existing tests; done means the sources are fetched in parallel without breaking compact-index behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- performance, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100