# Slow response time on some queries

**URL:** <https://discuss.elastic.co/t/slow-response-time-on-some-queries/18616>\
**Category:** Elasticsearch\
**Created:** [July 11, 2014, 10:35pm UTC](https://discuss.elastic.co/t/slow-response-time-on-some-queries/18616 "2014-07-11T22:35:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick\_Mussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mussig/32/1427_2.png) [@Patrick\_Mussig](https://discuss.elastic.co/u/Patrick_Mussig)\
**Post date:** [July 11, 2014, 10:35pm UTC](https://discuss.elastic.co/t/slow-response-time-on-some-queries/18616/1 "2014-07-11T22:35:30Z")

</div>

Hi,

we are running 2 Nodes Cluster a 40gb with 19,975,978 Documents separated  
in 84 Indexes and all indexes have 2 shard and one replica. We see in  
ElasticHQ that our query time on each cluster is  
Node1 6.5msNode2 16.33ms and our fetch time

Node1 1.69msNode 2 3.12ms  
but our end response time in PHP is 150ms sometimes more sometimes less. We  
use as client Elastica and i spend time to profile this and figure out that  
the complete  
response from PHP client to ES Server are the bottleneck. Why get we in  
ElasticHQ a so good performance, put in the PHP client not? Our SErvers are  
in an internal network  
and all communication runs though this network.

Is the query now the problem or our network or is there a other issue what  
you see?

thanks for hints  
Patrick

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0fceb041-909d-4f1f-80a4-25653114103f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0fceb041-909d-4f1f-80a4-25653114103f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:16am UTC](https://discuss.elastic.co/t/slow-response-time-on-some-queries/18616/2 "2017-07-06T01:16:22Z")

</div>


