Skip to content

Improve the performance of long-running admin operations #132

@dwilding

Description

@dwilding

Some operations in the admin backend take a long time to complete. Notably:

  • Recalculating all levels
  • Creating a cycle (longer)
  • Changing the current cycle (even longer)

In our production instance, these operations were timing out. I had to increase the web server and ingress timeouts:

juju config dashboard webserver-timeout=300
juju config nginx-ingress-integrator proxy-read-timeout=300

We should review the database queries to see whether the operations can be made more efficient. We should also consider switching them to async operations instead of blocking the web request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    application featureA feature request for the web application

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions