Performance optimizations for the polling of VM status in RO
Proposers
- Francisco Rodríguez (Indra)
Description
RO interrogates the VIM for each VM in order to keep track of its status internally. Since change https://osm.etsi.org/gerrit/#/c/osm/RO/+/12293/, the interval for the polling is configurable and can be deactivated if -1 is used (REFRESH_ACTIVE time). This feature proposes to improve further the polling mechanism to achieve better performance by:
- Ensuring that the polling operations are evenly distributed during all the REFRESH_ACTIVE time, ensuring that requests do not peak at specific intervals, for instance, making the timing random.
- Performing the status check using a more efficient mechanism than individual VM query, possibly a bulk operation, in order to reduce the number of operations required.
Demo or definition of done
First sub-feature: Deployment of two network services with a single VM in total. The polling operations are spaced during the REFRESH_ACTIVE interval.
Second sub-feature: Deployment of a single network service with a number of VM. A single polling operation is performed each REFRESH_ACTIVE interval.
Edited by aticig