Closed Bug 819348 Opened 12 years ago Closed 11 years ago

balrog dev is bursting with releases

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: nthomas)

References

Details

Attachments

(1 file)

I tried to load https://aus4-admin-dev.allizom.org/releases.html today and got a Service Unavailable after 30 seconds. It's able to load on occasion, but we need to make these page loads faster. I haven't profiled anything, but I'm going to guess that whatever query is happening to load all of the release names is really expensive. We may want to load N and then load more on demand rather than loading all of them?

Peter, this isn't directly related to the frontend but I figured I'd cc you anyways.
Assignee: nobody → nthomas
Blocks: 748689
Priority: -- → P2
We don't actually use the json part when building releases.html, instead offering a link to it, so don't bother with the expensive parsing. This should help building the page.
Attachment #733215 - Flags: review?
Attachment #733215 - Flags: review? → review?(bhearsum)
Comment on attachment 733215 [details] [diff] [review]
Don't try to read all the json data

Review of attachment 733215 [details] [diff] [review]:
-----------------------------------------------------------------

Wooo, this will be nice to have fixed!

::: auslib/test/test_db.py
@@ +747,5 @@
> +        self.assertEquals(releases, expected)
> +
> +        releases = self.releases.getReleaseInfo(product='a', version='b')
> +        expected = [ ]
> +        self.assertEquals(releases, expected)

It looks like these are separate tests under the same name. Can you split them out? r=me with that
Attachment #733215 - Flags: review?(bhearsum) → review+
Commit pushed to master at https://github.com/mozilla/balrog

https://github.com/mozilla/balrog/commit/a1e129fcf1782f254ce6dad8005564b7c039ab1b
Bug 819348, /releases.html should still load when there are lots of releases, r=bhearsum
The commited patch addressed Ben's comment so differs slightly from the attachment here.

https://aus4-admin-dev.allizom.org/releases.html loads now. It returns 600KB of html for our 1959 releases, so gzip compression might be work looking at in the future.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: