Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of RPM repo sync operations #757

Merged
merged 2 commits into from
Mar 9, 2020
Merged

Improve performance of RPM repo sync operations #757

merged 2 commits into from
Mar 9, 2020

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Mar 9, 2020

These two changes brought RPM sync-to-testing jobs down from about ~3:00 to ~0:18 for no-op or small syncs.

A full and consecutive rebuild of Eloquent could still take ~3:00 to sync despite these changes, but one-off jobs are now WAY more efficient than they used to be.

cottsay added 2 commits March 9, 2020 13:16
Create a dict for packages_in_version based on the pulp_href, which
should be unique among the packages in a repository version.

Also use that dict as a cache for the packages's being added.
@cottsay cottsay merged commit 6e68695 into ros-infrastructure:master Mar 9, 2020
@cottsay cottsay deleted the rpm_sync_perf branch March 9, 2020 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants