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

Refactor single item pulp queries that check existence of modular rpms to their batch variants #122

Open
rbikar opened this issue Jul 17, 2019 · 0 comments

Comments

@rbikar
Copy link
Member

rbikar commented Jul 17, 2019

Summary

For improving speed of ubipop we should refactor single item pulp queries that check existence of modular rpms to their batch variants.

The goal of this issue is to check pulp queries in ubipop and those that query only single item change to batch queries. These single item queries can be found in get_packages_from_module method in UbiPopulateRunner class. We should refactor mentioned queries to their batch variants so in the end we should have less requests to pulp and some speed improvement should be observed.

In get_packages_from_module, there are two pulp queries that has only single item as a parameter, current implementation isn't much effective and should improved by making these queries as batch queries.

Issue Type

  • Feature Request

Desired behavior

Single item query is refactored to batch queries in get_packages_from_module

Note:

This should be done after pulp_client is retired and replaced by https://github.com/release-engineering/pubtools-pulplib

@rbikar rbikar changed the title Refactor all single item pulp queries to their batch variants Refactor single item pulp queries that check existence of modular rpms to their batch variants Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant