You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/02/13 17:53:55 UTC

[GitHub] DagSonsteboSB opened a new issue #3178: GUI project pulldown list slowdown on large number of projects

DagSonsteboSB opened a new issue #3178: GUI project pulldown list slowdown on large number of projects
URL: https://github.com/apache/cloudstack/issues/3178
 
 
   
   ##### 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)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services