ruby / ruby/rubygems

Fetch compact index API sources in parallel

Open
#9,484 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.