more than deadlock I meant that quickly processed events (calculations, verifications, ...) will be mixed in queue with slowly processed events (writing to FS, WS call, ...) and application could be interested only in result of "quick" events and doesn't care, when slow one will be finished (eg. logging, ...). It will cause to take unnecessary time for request processing.
If application will be able to tell to async event "dispatcher", process this type of events on this executor, another type by this one and rest by this one, they won't be mixed in queue of one executor. Application will be then able to dedicate executor for processing of events needed for finishing of request processing and another for events which could be done even after request processing will be finished.
King regards,
Martin Fryč