Open Bug 1821546 Opened 2 years ago Updated 2 years ago

document and investigate all TH API calls that take >2 seconds to return

Categories

(Tree Management :: Treeherder, task)

Tracking

(Not tracked)

People

(Reporter: jmaher, Unassigned)

References

(Blocks 1 open bug)

Details

I suspect many API's:

  • are dead (remove these and related code)
  • are fast, but funky input slows them down (do better input checks)
  • are slow (work to optimize)
  • vary depending on input (work to restrict input)

even fixing half of the issues we find could result in less headaches in the future when Treeherder is under heavy load or being scanned by a security scan.

you can see some apis here:
https://treeherder.mozilla.org/api/

I see a server error 500 with this:
https://treeherder.mozilla.org/api/taskclustermetadata/

I suspect there are other apis, look around in treeherder/webapp/api/urls.py file for reference to other apis that might not be used.

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