Closed
Bug 1079784
Opened 10 years ago
Closed 10 years ago
Lower frequency of TBPL UI polling to reduce load on json-pushes
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
2.05 KB,
patch
|
RyanVM
:
review+
|
Details | Diff | Splinter Review |
Treeherder's backend polls json-pushes as part of initial data ingestion, and then the UI requests the pushlog via treeherder's API. This means that unlike TBPL, load on json-pushes doesn't scale with the number of clients.
We've been seeing timeouts when treeherder polls json-pushes - which is partly due to bug 1076826 - however one way to help mitigate in the meantime, would be to reduce TBPL UI's polling frequency slightly. This would mean that all of the people who have not yet switched to TBPL don't contribute to the DB deadlocks that are a possible cause.
Now I'm not sure how the load on json-pushes from TBPL clients compares against releng's hgpollers or other consumers of the pushlog, so this may not actually make a huge difference, but worth a try (and for non-sheriffs, TBPL polling time is less noticeable).
Assignee | ||
Comment 1•10 years ago
|
||
See comment 0. I also filed bug 1079788 to figure out where most of the load on json-pushes is coming from (and as such, whether this is just a waste of time).
Attachment #8501666 -
Flags: review?(ryanvm)
Updated•10 years ago
|
Attachment #8501666 -
Flags: review?(ryanvm) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Webtools → Tree Management
Assignee | ||
Comment 3•10 years ago
|
||
Dropped the frequency by half again:
https://hg.mozilla.org/webtools/tbpl/rev/c036367d3309
Assignee | ||
Comment 4•10 years ago
|
||
Updated•10 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•