Le 07/10/15 22:34, Марат Гайнуллин a écrit :
> Hi Emmanuel!
>
> According to last Jon message, there are already cores*2 IoProcessors
> involved in network processing. It changes everything. It seems, that
> executor filter is useless at all if a server doesn't perform any
> waiting/sleeping, etc in its further logic (handler for example). It seems,
> that executor filter helps, when there are waiting/sleeping in further
> server logic. Is it correct?
>
Correct. Actually, it may also be useful in some other specific cases :
in ApacheDS, we do need to allow the interuption of a processing (a
search request) before it ends. This is done using an Abandon request on
the same session. By using an exector after the codec filter, we can
have this abandon request being processed in parallel, and have a chance
to interrput the thread that process the search. Even if the search
thread eats 100% CPU, the second thread might snick in, sharing a bit of
this processing and terminate the first thread.