# Facing Issue while running queries on ElasticSearch

**URL:** <https://discuss.elastic.co/t/facing-issue-while-running-queries-on-elasticsearch/309997>\
**Category:** Elasticsearch\
**Tags:** eql-elastic-query-language\
**Created:** [July 19, 2022, 9:37am UTC](https://discuss.elastic.co/t/facing-issue-while-running-queries-on-elasticsearch/309997 "2022-07-19T09:37:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![painless\_elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/painless_elastic/32/94652_2.png) [@painless\_elastic](https://discuss.elastic.co/u/painless_elastic)\
**Post date:** [July 19, 2022, 9:37am UTC](https://discuss.elastic.co/t/facing-issue-while-running-queries-on-elasticsearch/309997/1 "2022-07-19T09:37:26Z")

</div>

Hi All,

When we are making 100TPS queries to elastic and parallelly documents are getting indexed, the response time is good.  
But when the query rate to our elastic is close to zero and documents are getting indexed parallelly. few calls to elastic during this time are taking a lot of seconds.  
Is there any setting I can tweak to handle such a scenario, of low querying and low indexing, but making calls infrequently?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 16, 2022, 9:38am UTC](https://discuss.elastic.co/t/facing-issue-while-running-queries-on-elasticsearch/309997/2 "2022-08-16T09:38:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
