Project

General

Profile

Actions

action #55904

open

/status updates are too heavy with external results

Added by coolo almost 5 years ago. Updated about 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2019-08-23
Due date:
% Done:

0%

Estimated time:

Description

As we generate a lot of modules it can take up to 30seconds to answer. This needs to be improved - we should aim for smaller requests that are managable.

You can execute this on openqa-monitor:

epoch=$(date +%s); epoch=$((epoch-7000)); influx -database telegraf -execute "select response_time_us,request from apache_log where response_time_us > 19000000 and request =~ /status/ and time>$epoch*1000000000"

Will give you e.g.

1566573983000000000 30590665         /api/v1/jobs/3281950/status
1566573984000000000 29956535         /api/v1/jobs/3282402/status
1566573985000000000 28671861         /api/v1/jobs/3282393/status
1566573986000000000 26500427         /api/v1/jobs/3281940/status
1566573987000000000 26421768         /api/v1/jobs/3281944/status
1566573988000000000 25935256         /api/v1/jobs/3281938/status
1566573988001000000 24334786         /api/v1/jobs/3281918/status
1566573989000000000 25448723         /api/v1/jobs/3282232/status
1566573989001000000 23724981         /api/v1/jobs/3277369/status
1566573989002000000 22939661         /api/v1/jobs/3282169/status
1566573990000000000 21872689         /api/v1/jobs/3282156/status
1566573991000000000 21818731         /api/v1/jobs/3282400/status
1566573993000000000 19485082         /api/v1/jobs/3282281/status
1566574127000000000 33826524         /api/v1/jobs/3281841/status
1566574188000000000 30708568         /api/v1/jobs/3281892/status
1566575262000000000 32902187         /api/v1/jobs/3281998/status
1566575288000000000 21759388         /api/v1/jobs/3282002/status
1566575503000000000 33676646         /api/v1/jobs/3282028/status
1566575639000000000 25030512         /api/v1/jobs/3282185/status
1566575684000000000 24631893         /api/v1/jobs/3282039/status
1566575857000000000 40510643         /api/v1/jobs/3282207/status
1566575933000000000 51457756         /api/v1/jobs/3281879/status
1566576361000000000 24472420         /api/v1/jobs/3282284/status
1566576676000000000 30885742         /api/v1/jobs/3282306/status

I.e. tons of requests that are very slow - and if you check e.g. https://openqa.suse.de/tests/3282284 that it inserts tons of job modules.


Related issues 2 (1 open1 closed)

Related to openQA Project - action #56591: Improve feedback for jobs in "Uploading"Resolvedmkittler2019-09-08

Actions
Related to openQA Project - action #55238: jobs with high amount of log files, thumbnails, test results are incompleted but the job continues with upload attemptsNew2019-07-31

Actions
Actions

Also available in: Atom PDF