[Engine-devel] AsyncTaskManager and the irsbroker

Laszlo Hornyak lhornyak at redhat.com
Tue Sep 11 16:27:34 UTC 2012


hi,

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?

Laszlo



More information about the Engine-devel mailing list