Bug 1194291 - [RFE] REST API is calling a query _per VM_ in order to re-populate the display-related values -> potential engine overload
Summary: [RFE] REST API is calling a query _per VM_ in order to re-populate the displa...
Keywords:
Status: CLOSED DUPLICATE of bug 1268216
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RFEs
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-19 13:40 UTC by Einav Cohen
Modified: 2016-12-06 09:57 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-06 09:57:28 UTC
oVirt Team: Virt
Embargoed:
ylavi: ovirt-future?
ylavi: planning_ack?
ylavi: devel_ack?
ylavi: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1064526 0 unspecified CLOSED [RFE] move GUI to work over REST API 2022-07-13 08:23:12 UTC

Internal Links: 1064526

Description Einav Cohen 2015-02-19 13:40:47 UTC
In patch http://gerrit.ovirt.org/#/c/35281, it seems that the REST API is calling a query *per VM* in order to re-populate the display-related values. 

This will potentially overload the engine, especially if we are planning to move the GUI to work over the REST API and request VMs every 5 seconds (by default) per client, as we are doing today. 

Improvement suggestion from Juan [1]:
"""
I'd suggest to implement at least a query that takes multiple VM identifiers and returns the graphics devices of those multiple VMs. This would allow for a 1+1 queries scenario, instead of 1+N. Once the backend provides this the RESTAPI can be changed to use it.
"""

[1] http://lists.ovirt.org/pipermail/devel/2015-February/009900.html

Comment 2 Tomas Jelinek 2016-12-06 09:57:28 UTC

*** This bug has been marked as a duplicate of bug 1268216 ***


Note You need to log in before you can comment on or make changes to this bug.