lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Earwin Burrfoot (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2440) Add support for custom ExecutorServices in ParallelMultiSearcher
Date Wed, 05 May 2010 20:03:03 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864477#action_12864477
] 

Earwin Burrfoot commented on LUCENE-2440:
-----------------------------------------

+1

> Add support for custom ExecutorServices in ParallelMultiSearcher
> ----------------------------------------------------------------
>
>                 Key: LUCENE-2440
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2440
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 3.0.1
>         Environment: Any
>            Reporter: Edward Drapkin
>            Priority: Minor
>         Attachments: LUCENE-2440.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Right now, the ParallelMultiSearcher uses a cachedThreadPool, which is limitless and
a poor choice for a web application, given the threaded nature of the requests (say a webapp
with tomcat-default 200 threads and 100 indexes could be looking at 2000 searching threads
pretty easily).  Support for adding a custom ExecutorService is pretty trivial.  Patch forthcoming.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message