Hi, As you may know I currently work on event infrastructure which will let vdsm push information to the engine. I already pushed some drafts providing event functionality and started to think which part of engine <-> vdsm interaction could be changed to events. The goal is to build usable api for it as well as provide example how to migrate other parts of code to events.
Initially we started to look at VM.getStats [1] but we still want to have Host.getAllVmStats run by quartz job. I had a chat with Vinzenz about the structure and frequency of data change for VM.getStats and it seems that the data changes ~2s so this verb is not the best choice to send events with deltas containing the change since we are polling every 3s for the information. We started to explore which data generated by vdsm/guest agent could be sent as events and he pointed me to [2]. I would like to trigger discussion about how to dived data to maximize benefits of sending events with deltas and for some parts of data keep polling functionality as it is now. Do you have any suggestion which verb we could safely use as reference implementation for events? Thanks, Piotr [1] http://gerrit.ovirt.org/#/c/37488/ [2] http://www.ovirt.org/Proposal_VDSM_-_Engine_Data_Statistics_Retrieval _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel