cloudstack/server/src/com/cloud/resource
Koushik Das eeac80eaa2 CLOUDSTACK-4350: [Performance Testing] Adding hosts take much longer time than baselines
During host connect multiple listeners gets invoked, one of them is the download listener.
As part of processConnect() method, it checks if templates needs to be downloaded to secondary
store for a particular HV type. As part of that check it computes list of HVs present in the
zone. The earlier logic was to query all hosts (excluding current one) and iterate over them to
make the list. This is not optimal and is bound to have some latency as the number of hosts
increases.
Optimized the logic by querying the list of HVs from the db. directly instead of iterating over
all hosts in the zone.

Conflicts:
	server/src/com/cloud/resource/ResourceManagerImpl.java
2013-08-26 16:18:54 +05:30
..
Discoverer.java License header updates for the server folder. 2012-07-02 08:58:10 -04:00
DiscovererBase.java Revert "Reverting the range of commits that broke the build" 2013-08-08 15:02:40 -07:00
DummyHostDiscoverer.java Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
DummyHostServerResource.java Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
ResourceManager.java Resolved merge conflicts 2013-08-12 20:15:24 -07:00
ResourceManagerImpl.java CLOUDSTACK-4350: [Performance Testing] Adding hosts take much longer time than baselines 2013-08-26 16:18:54 +05:30
ResourceStateAdapter.java License header updates for the server folder. 2012-07-02 08:58:10 -04:00