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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

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).
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)
Attachment #8501666 - Flags: review?(ryanvm) → review+
Depends on: 1079917
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Webtools → Tree Management
Dropped the frequency by half again:
https://hg.mozilla.org/webtools/tbpl/rev/c036367d3309
Depends on: 1120560
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: