Cache individual results for IArchive.getBuildSummariesForSourceIds

Bug #372587 reported by Michael Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Medium
Unassigned

Bug Description

Currently if 150 people watch the same public PPA page, then at worst 150 requests/minute will be sent requesting the build status summaries for the same packages.

Some changes in bug 371556 will help alleviate the load on the server, but these changes do not help the scaling issue.

So, it would be great if getBuildSummariesForSourcesIds actually cached the results for each source ID (with a 60s lifetime), so that subsequent requests would just hit the cache.

A much neater solution would be to instead provide IArchive.getBuildSummaryForSource() and have a lazr.restful caching option on the API? This would mean more requests per-page, but would be a much neater solution (and more maintainable).

Tags: lp-soyuz
Changed in soyuz:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.