Uploaded image for project: 'Opencast'
  1. MH-10014

Job data makes Statistics tab badge update slow

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 1.4.0
    • Fix versions: 1.6.0
    • Labels:
      None
    • Severity:
      Performance
    • Steps to reproduce:
      Hide
      The rest endpoint service/statistic.json is called every 30secs by the Admin UI to update the service status badge on the statistics tab.

      This call though can take over a sec to be resolved on a large deployment as it also gathers information about the jobs running on each service. This information is unnecessary to just update an icon to show how many services need sanitizing.

      An administrator who has the admin UI open all day can and hour of database time just refreshing this icon and could be higher as it calls the endpoint each time the page is reload (eg clicking a tab).

      The rest endpoint needs to be changed so that the service stats can be returned without the job information.
      Show
      The rest endpoint service/statistic.json is called every 30secs by the Admin UI to update the service status badge on the statistics tab. This call though can take over a sec to be resolved on a large deployment as it also gathers information about the jobs running on each service. This information is unnecessary to just update an icon to show how many services need sanitizing. An administrator who has the admin UI open all day can and hour of database time just refreshing this icon and could be higher as it calls the endpoint each time the page is reload (eg clicking a tab). The rest endpoint needs to be changed so that the service stats can be returned without the job information.
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                greg_logan Greg Logan
                Reporter:
                james.perrin James Perrin
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases