[openstack-dev] [nova] [vitrage] Nova host list api - performance
Weyl, Alexey (Nokia - IL)
alexey.weyl at nokia.com
Mon Aug 8 07:18:32 UTC 2016
I am running the "client.hosts.list()" command in Vitrage to get all the hosts in the system (we also run similar commands for availability zones and instances). Vitrage does this to gain a holistic view of system resources.
As part of our performance checks we noticed that when calling client.hosts.list(), the info on each host includes the "HostManager" object, which weighs about 840KB on the oslo messaging bus, which is quite heavy.
We would like to reduce that amount of data transferred, to improve performance. Is it possible to pass some parameter in "client.hosts.list()" so the manager property won't be sent on the bus?
Thanks in advance,
More information about the OpenStack-dev