Skip to content

GUI project pulldown list slowdown on large number of projects #3178

Description

@DagSonsteboSB
ISSUE TYPE
  • Improvement Request
COMPONENT NAME
  • ACS GUI
CLOUDSTACK VERSION
  • Reproduced on ACS 4.11.2
CONFIGURATION
  • ACS 4.11.2
  • Problem is environment agnostic
OS / ENVIRONMENT
  • ACS management on CentOS7
SUMMARY
  • When number of projects is large (thousands) and there's a lot of tags in use (hundreds) then the ACS GUI pulldown menu slows down drastically to the point it sometimes fails to show the project list
  • Initial code investigation shows this could be down to:
    ** Code looks up all projects - active and inactive
    ** Then runs multiple loops against tags
    ** As a result processing is carried out with inactive projects included
  • Code investigation shows this procedure could be made more efficient by only processing active project thereby cutting down on tag lookup processing time.
STEPS TO REPRODUCE
  • Create thousands of projects, leave a handful active, the rest inactive
  • Tag the projects with 10-20 tags each
  • Use project pulldown menu in CloudStack GUI
EXPECTED RESULTS
  • Relatively quick pulldown menu population
ACTUAL RESULTS
  • Pulldown menu population can take 10-20 seconds to populate and will sometimes not populate at all (assuming due to timeout somewhere)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions