Open Bug 1656343 Opened 5 years ago Updated 1 month ago

Investigate improving performance of store-pulse-tasks

Categories

(Tree Management :: Treeherder: Data Ingestion, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: armenzg, Unassigned)

Details

Attachments

(2 files)

I've tried to look at historical data but I can't go far enough. I don't remember taking so much time of the overall pie (35% compared to 55% by log-parser).

aiohttp takes a good chunk of it.

I think I would like to add deeper NewRelic metrics & test out on prototype the idea of removing asynchronous usage of the Taskcluster library.

We have more metrics around this now in Grafana

Handling task messages is generally pretty quick these days, with some exceptions. We did find that the sole worker pod could only a certain number of events per minute, and we were backlogging because of that at certain times. We increased the number of pulse task workers to compensate for this.

It's probably not worth optimizing this further at this time. One thing we could do to speed things up if we need to is ensure that the pulse messages contain all the information needed for Treeherder to store the task. This would avoid the need to fetch the task definition and/or status as part of messaging handling.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: