# Requests per second

**URL:** https://discuss.elastic.co/t/requests-per-second/20971
**Category:** Elasticsearch
**Created:** [November 27, 2014, 12:25pm UTC](https://discuss.elastic.co/t/requests-per-second/20971 "2014-11-27T12:25:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ernesto\_Reig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ernesto_reig/32/951_2.png) [@Ernesto\_Reig](https://discuss.elastic.co/u/Ernesto_Reig)
#### Post date: [November 27, 2014, 12:25pm UTC](https://discuss.elastic.co/t/requests-per-second/20971/1 "2014-11-27T12:25:35Z")

</div>

Hello,  
I don´t really know how to measure the number of requests per second made  
to Elasticsearch cluster. I would like to know specifically the number of  
search requests per second.  
If I am not wrong, the stat "query\_total" in "search" increases by the  
number of shards being accessed in every search, so if it increases in  
let´s say 25 units, that does not mean you had 25 \_search requests but ES  
has used 25 shards in total to answer to a single (or several) \_search  
request(s).  
So, is it possible at all to know the number of \_search requests per second  
that your cluster receives? If not, is there any close approach to this?

Thank you very much,

Ernesto

--  
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/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)
#### Post date: [November 27, 2014, 12:27pm UTC](https://discuss.elastic.co/t/requests-per-second/20971/2 "2014-11-27T12:27:07Z")

</div>

You have to count the requests per second in your client.

Jörg

On Thu, Nov 27, 2014 at 1:25 PM, Ernesto Reig [ernirulez@gmail.com](mailto:ernirulez@gmail.com) wrote:

> Hello,  
> I don´t really know how to measure the number of requests per second made  
> to Elasticsearch cluster. I would like to know specifically the number of  
> search requests per second.  
> If I am not wrong, the stat "query\_total" in "search" increases by the  
> number of shards being accessed in every search, so if it increases in  
> let´s say 25 units, that does not mean you had 25 \_search requests but ES  
> has used 25 shards in total to answer to a single (or several) \_search  
> request(s).  
> So, is it possible at all to know the number of \_search requests per  
> second that your cluster receives? If not, is there any close approach to  
> this?
> 
> Thank you very much,
> 
> Ernesto
> 
> --  
> 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/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAKdsXoFJa1KHgdHmkazm%3DqZLG8HXzGMaWMg%2BcsBhRNtVn2ZTpQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFJa1KHgdHmkazm%3DqZLG8HXzGMaWMg%2BcsBhRNtVn2ZTpQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Jurgen\_Wagner\_DVT](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@Jurgen\_Wagner\_DVT](https://discuss.elastic.co/u/Jurgen_Wagner_DVT)
#### Post date: [November 27, 2014, 12:52pm UTC](https://discuss.elastic.co/t/requests-per-second/20971/3 "2014-11-27T12:52:23Z")

</div>

Hi Ernesto,  
you may use a tool like JMeter to throw randomized queries and other  
operations at an Elasticsearch instance. JMeter will take care of  
counting requests per time and possibly also register other parameters  
you may use for a more detailed evaluation. At the end of the day, the  
total client count of queries that were processed in a given time frame  
is important. Don't rely on Elasticsearch-internal counters that may  
include other requests not visible to clients. The net performance  
should be measured end-to-end, possibly not even on the REST service or  
transport level, but at the respective front-end application (where one  
page view may trigger multiple Elasticsearch requests).

Best regards,  
--Jürgen

On 27.11.2014 13:25, Ernesto Reig wrote:

> Hello,  
> I don´t really know how to measure the number of requests per second  
> made to Elasticsearch cluster. I would like to know specifically the  
> number of search requests per second.  
> If I am not wrong, the stat "query\_total" in "search" increases by the  
> number of shards being accessed in every search, so if it increases in  
> let´s say 25 units, that does not mean you had 25 \_search requests but  
> ES has used 25 shards in total to answer to a single (or several)  
> \_search request(s).  
> So, is it possible at all to know the number of \_search requests per  
> second that your cluster receives? If not, is there any close approach  
> to this?
> 
> Thank you very much,
> 
> ## Ernesto
> 
> 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)  
> [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--

Mit freundlichen Grüßen/Kind regards/Cordialement vôtre/Atentamente/С  
уважением  
_i.A. Jürgen Wagner_  
Head of Competence Center "Intelligence"  
& Senior Cloud Consultant

Devoteam GmbH, Industriestr. 3, 70565 Stuttgart, Germany  
Phone: +49 6151 868-8725, Fax: +49 711 13353-53, Mobile: +49 171 864 1543  
E-Mail: [juergen.wagner@devoteam.com](mailto:juergen.wagner@devoteam.com)  
[mailto:juergen.wagner@devoteam.com](mailto:juergen.wagner@devoteam.com), URL: [www.devoteam.de](http://www.devoteam.de)  
[http://www.devoteam.de/](http://www.devoteam.de/)

* * *

Managing Board: Jürgen Hatzipantelis (CEO)  
Address of Record: 64331 Weiterstadt, Germany; Commercial Register:  
Amtsgericht Darmstadt HRB 6450; Tax Number: DE 172 993 071

--  
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/54771E87.4080403%40devoteam.com](https://groups.google.com/d/msgid/elasticsearch/54771E87.4080403%40devoteam.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Ernesto\_Reig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ernesto_reig/32/951_2.png) [@Ernesto\_Reig](https://discuss.elastic.co/u/Ernesto_Reig)
#### Post date: [November 27, 2014, 1:14pm UTC](https://discuss.elastic.co/t/requests-per-second/20971/4 "2014-11-27T13:14:33Z")

</div>

Ok, so I guess the answer is "No, there is no way to know it from ES point  
of view. If you want to know it you have to count them from the client".  
Thank you very much for the answers 🙂

On Thursday, November 27, 2014 1:52:27 PM UTC+1, Jürgen Wagner (DVT) wrote:

> Hi Ernesto,  
> you may use a tool like JMeter to throw randomized queries and other  
> operations at an Elasticsearch instance. JMeter will take care of counting  
> requests per time and possibly also register other parameters you may use  
> for a more detailed evaluation. At the end of the day, the total client  
> count of queries that were processed in a given time frame is important.  
> Don't rely on Elasticsearch-internal counters that may include other  
> requests not visible to clients. The net performance should be measured  
> end-to-end, possibly not even on the REST service or transport level, but  
> at the respective front-end application (where one page view may trigger  
> multiple Elasticsearch requests).
> 
> Best regards,  
> --Jürgen
> 
> On 27.11.2014 13:25, Ernesto Reig wrote:
> 
> Hello,  
> I don´t really know how to measure the number of requests per second made  
> to Elasticsearch cluster. I would like to know specifically the number of  
> search requests per second.  
> If I am not wrong, the stat "query\_total" in "search" increases by the  
> number of shards being accessed in every search, so if it increases in  
> let´s say 25 units, that does not mean you had 25 \_search requests but ES  
> has used 25 shards in total to answer to a single (or several) \_search  
> request(s).  
> So, is it possible at all to know the number of \_search requests per  
> second that your cluster receives? If not, is there any close approach to  
> this?
> 
> Thank you very much,
> 
> ## Ernesto
> 
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --
> 
> Mit freundlichen Grüßen/Kind regards/Cordialement vôtre/Atentamente/С  
> уважением  
> _i.A. Jürgen Wagner_  
> Head of Competence Center "Intelligence"  
> & Senior Cloud Consultant
> 
> ## Devoteam GmbH, Industriestr. 3, 70565 Stuttgart, Germany Phone: +49 6151 868-8725, Fax: +49 711 13353-53, Mobile: +49 171 864 1543 E-Mail: [juergen...@devoteam.com](mailto:juergen...@devoteam.com) \<javascript:\>, URL: [www.devoteam.de](http://www.devoteam.de)
> 
> Managing Board: Jürgen Hatzipantelis (CEO)  
> Address of Record: 64331 Weiterstadt, Germany; Commercial Register:  
> Amtsgericht Darmstadt HRB 6450; Tax Number: DE 172 993 071

--  
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/38de9d8c-ad6b-4f63-ac82-59a004a10c20%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/38de9d8c-ad6b-4f63-ac82-59a004a10c20%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, 12:47am UTC](https://discuss.elastic.co/t/requests-per-second/20971/5 "2017-07-06T00:47:17Z")

</div>


