Bug 536144 (RHQ-526)

Summary: leverage latched concurrent framework to deploy plugins concurrently during server startup
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: PerformanceAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: Improvement
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-526
Whiteboard:
Fixed In Version: 1.0.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 536143    
Bug Blocks:    

Description Joseph Marques 2008-05-29 16:36:00 UTC
the benefit might be small now, but with a serialized startup process this will only get worse in the future.  think of what the server startup times would be if a user has 50 deployed plugins.  this will significantly reduce the time needed to start all plugins, because the plugin deployer will be able to deploy concurrently those that are not part of the same lineage.  furthermore, once a common ancestor is successfully deploy, all descendant lineages will proceed with their deploys concurrently.

Comment 1 Joseph Marques 2008-05-29 16:38:55 UTC
rev884 - subclassed LatchService to capture the required pieces of information needed during a plugin deployment; 
rewrote main part of plugin deployer to leverage the latched concurrent controller framework to concurrently deploy plugins; 

Comment 2 Joseph Marques 2008-05-29 19:32:11 UTC
rev885 - fixed typo for logger initialization
rev887 - typo, the completion latch should have also been final

Comment 3 Joseph Marques 2008-06-12 17:18:13 UTC
closing this code-level item, no qa necessary.

Comment 4 Red Hat Bugzilla 2009-11-10 21:11:08 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-526