Separated thread pool for those long I/O task is a good idea.
As jon stated, executor filter can match too.

--
Julien Vermillard :::: http://people.apache.org/~jvermillard/


On Fri, Jun 28, 2013 at 10:28 PM, Jon <[email protected]> wrote:
> You could have used the executor filter to do this. All depends on the 
> lengths you want to go through for difference performance profiles.
>
> Sent from my iPhone
>
> On Jun 28, 2013, at 1:11 PM, Zlatko Josic <[email protected]> wrote:
>
>> Hi,
>>
>> We created server based on MINA framework. Every request has logic that
>> writes to database.
>> We creates separated thread pool for these taks.
>> This means that MINA's worker thread pool submits taks to our pool where
>> they are executed.
>> Is this good approach ?
>>
>> Thanks
>>
>> Zlaja

Reply via email to