jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: Observation
Date Fri, 08 Nov 2013 10:41:06 GMT


On 7.11.13 2:46 , Jukka Zitting wrote:
>> An obvious solution would be a thread pool (probably configurable number of
>> >threads). And on top of that, if the pool is full and no thread is free anymore,
>> >one could simply kill blocked handlers after a certain timeout (and
>> >optionally blacklist them).
> I don't see a major benefit over simply having a separate thread for
> each listener, just a extra complexity, especially since killing
> blocked threads is nasty business in Java.
>

See my reply to Alex. I wouldn't go so far as to kill blocked listeners. 
But having a deployment controlled thread pool - especially if we could 
integrate this with the whiteboard - would definitely make  this easier 
to control.

Michael

Mime
View raw message