Sorry for the very late response,
You are correct.
We have inefficient synchronization issues.
For example - I wonder whether we should have AsyncTaskManager instance per data center
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak(a)redhat.com>
To: "engine-devel" <engine-devel(a)ovirt.org>
Sent: Tuesday, September 11, 2012 7:27:34 PM
Subject: [Engine-devel] AsyncTaskManager and the irsbroker
I have just noticed that AsyncTaskManager is
- almost all of the public methods are synchronized
- and it is singleton
- calling to VDS operations (line 291)
Therefore this may be a performance bottleneck. Even when you want to
create an asynchronous task or query a task's state, you may have to
wait till a remote vdsm responds. Would it be ok to remove the
synchronization from e.g. the query-like methods? Or the one
initiating remote calls?
Engine-devel mailing list