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

Mark Miller commented on SOLR-12405:
------------------------------------

I started playing with this in my HTTP/2 branch: 
https://github.com/markrmiller/lucene-solr/blob/http2/solr/core/src/java/org/apache/solr/servlet/SolrQoSFilter.java

In terms of keeping resources under control, pretty effective.

> Add a quality of service type filter for request load management and request 
> throttling.
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-12405
>                 URL: https://issues.apache.org/jira/browse/SOLR-12405
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mark Miller
>            Priority: Major
>
> Trying to manage resource usage just with thread / connection pool limits is 
> a losing strategy ( especially without using Continuations and making 
> scalability vs performance tradeoffs) if you cannot manage requests.
> A QOSFilter type servlet filter with give us some base functionality we want:
> Ability to limit number of concurrent requests.
> Ability to queue requests without holding a thread per request.
> Ability to drop requests over a certain queue size.
> Ability to prioritize requests on the queue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to