Requests per second

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/69edcaa5-8fb1-4c65-a2c4-f3fd25c259da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 Like

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 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.
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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFJa1KHgdHmkazm%3DqZLG8HXzGMaWMg%2BcsBhRNtVn2ZTpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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.
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?utm_medium=email&utm_source=footer.
For more options, visit 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, 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/54771E87.4080403%40devoteam.com.
For more options, visit https://groups.google.com/d/optout.

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 :slight_smile:

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 <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?utm_medium=email&utm_source=footer
.
For more options, visit 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 <javascript:>, URL: 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/38de9d8c-ad6b-4f63-ac82-59a004a10c20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.