Michael Kublin has submitted this change and it was merged.

Change subject: engine: Introducing "cache" for ActionGroupDAO
......................................................................


engine: Introducing "cache" for ActionGroupDAO

The following patch is introducing a simle cache for ActionGroupDAO.
The following Dao only perfrom select operation from DB and never update 
operation.
The following query is running during each engine bll comand, so introducing a 
cache will decrease
dramaticly quries to DB.
In general I would prefer to use some third-party cache solution which can be 
integrated inside dao,
but because of it can some time, I just wrote something simple that should be 
good for now

Change-Id: I292ed3cba6075064e13ba8cee73c47a018fa568a
Signed-off-by: Michael Kublin <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/ActionVersionMap.java
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/ActionGroupDAODbFacadeImpl.java
2 files changed, 40 insertions(+), 1 deletion(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11546
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I292ed3cba6075064e13ba8cee73c47a018fa568a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to