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
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