[ 
https://issues.apache.org/jira/browse/SOLR-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527689#comment-13527689
 ] 

Mark Miller edited comment on SOLR-4030 at 12/10/12 2:28 AM:
-------------------------------------------------------------

Here is a simple patch that lets you use a rate limited directory wrapper - you 
can set the rate for each of the io contexts that lucene provides. If no 
limited are configured, no rate limited directory wrapper is created.
                
      was (Author: markrmil...@gmail.com):
    Here is a simple patch that lets you use a rate limited directory wrapper - 
you can set the rate for each of the io contexts that lucene provides. If no 
limited are configured, no rate limited directory wrapper is completed.
                  
> Allow rate limiting Directory IO based on the IO context
> --------------------------------------------------------
>
>                 Key: SOLR-4030
>                 URL: https://issues.apache.org/jira/browse/SOLR-4030
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Lucene Developers
>            Assignee: Mark Miller
>            Priority: Minor
>              Labels: patch
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-4030.patch
>
>
> Allow setting rate limits for default,read,merge,flush.
> {noformat}
>   <directoryFactory name="DirectoryFactory" 
>                     
> class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"> 
>               <double name="maxWriteMBPerSecFlush">20</double>
>               <double name="maxWriteMBPerSecMerge">20</double>    
>   </directoryFactory>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to