We work around this for teams that are subscribed to lots of packages, like foundations-bugs and ubuntu-x-swat, by caching their subscriptions in the UserBinaryPackages column family. We could do the same thing for Laney and other users we encounter with lots of subscriptions.
Alternatively, one way to speed this up is to switch from using the getPublishedBinaries Launchpad API request for a source package and just use binaryFileUrls and then do something like this:
bf.split('/')[-1].split('_')[0] for bf in json_request(bfu_url)
while this works it seems kind of nasty.
We could also create a column family with a cache of source packages to binary packages.
We work around this for teams that are subscribed to lots of packages, like foundations-bugs and ubuntu-x-swat, by caching their subscriptions in the UserBinaryPackages column family. We could do the same thing for Laney and other users we encounter with lots of subscriptions.
Alternatively, one way to speed this up is to switch from using the getPublishedBin aries Launchpad API request for a source package and just use binaryFileUrls and then do something like this:
bf.split( '/')[-1] .split( '_')[0] for bf in json_request( bfu_url)
while this works it seems kind of nasty.
We could also create a column family with a cache of source packages to binary packages.