tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Paulin <...@bobpaulin.com>
Subject Tika Executor Service Config
Date Tue, 06 Oct 2015 22:39:23 GMT
Hi,

Looking to build out the config for:

https://issues.apache.org/jira/browse/TIKA-1762

The default will be a pool with a single thread.

There was a request to make the executor configurable.  I was thinking 
of laying out the config as follows to set max threads as well as core 
threads initially.  I know there is more configuration options for 
thread pools however I think  core threads and max threads cover most of 
the bases.

<executor-service 
class="org.apache.tika.concurrent.SimpleTikaThreadPoolExecutor">
     <core-threads>3</core-threads>
     <max-threads>10</max-threads>
   </executor-service>

Any concerns with these being the initial configuration options? More 
can always be added later.

  - Bob

Mime
View raw message