Michael Kublin has uploaded a new change for review. Change subject: core: Make Job monitoring feature to work via asynchronius queue ......................................................................
core: Make Job monitoring feature to work via asynchronius queue The following change should allow to perform persistance of jobs, steps at asynchronious way. These is done because of job monitoring is actually done on each operation at the system and performs a hevy load on the same couple of tables, the idea is to perfrom an insert, update of jobs and steps in async way in order to serialize operations of insert and update and reduce an influence of job monitoring on core flows. For these purpose was used a non blocking queue which will keep events and addional thread will perfrom a writing of events to DB Change-Id: I3e0a5e858ff348eb9dfe9edf2fe15500d743f62d Signed-off-by: Michael Kublin <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/JobRepositoryFactory.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/JobRepositoryImpl.java A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/JobRepositoryWriter.java A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/PersistData.java A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/PersistDataMethod.java M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/job/JobRepositoryTest.java 7 files changed, 360 insertions(+), 122 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/57/6457/1 -- To view, visit http://gerrit.ovirt.org/6457 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3e0a5e858ff348eb9dfe9edf2fe15500d743f62d Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Michael Kublin <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
