You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Michael Russo (JIRA)" <ji...@apache.org> on 2017/02/24 22:45:44 UTC
[jira] [Created] (USERGRID-1336) Implement a query analyzer
Michael Russo created USERGRID-1336:
---------------------------------------
Summary: 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)