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

Michael Russo commented on USERGRID-1336:
-----------------------------------------

https://github.com/apache/usergrid/pull/567

> Implement a query analyzer
> --------------------------
>
>                 Key: USERGRID-1336
>                 URL: https://issues.apache.org/jira/browse/USERGRID-1336
>             Project: Usergrid
>          Issue Type: Story
>            Reporter: Michael Russo
>            Assignee: Michael Russo
>
> Implement a query analyzer such that the following things can be taken into 
> consideration based on applicatino set limits:
> size of collection (in count of entities and total bytes)
> size of index (total bytes)
> number of query operands
> number of query sort predicates
> If one exceeds the limit, mark it as a violation.
> The initial approach for this will be log only such that we can alert based 
> on logs if something extremely abnormal is detected.  Also provide the client 
> a new queryparam "analyzeOnly" so that for any existing query, they can run 
> this and get back the warnings without having the query execute against 
> Elasticsearch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to