Does cat API verify results with other nodes, or only locally?

When I make a call to, say, _cat/allocation, does it only check local node
state, or does it make calls to other nodes in the cluster to verify?
I was looking comparing _cat behavior to _cluster/health under heavy load,
and the two seem to perform the same under load.

At the same time, I tried _nodes/_local/stats/name, and it performed much
better than either. Why is that?

--
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/1c86ced4-1981-4f61-8269-1da12a484a69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey

most of the cat APIs support the local HTTP request parameter, which uses
the local cluster state instead of redirecting a request to the master (so
you can have the same behaviour than using _local).

--Alex

On Wed, May 7, 2014 at 10:31 PM, H Gesserti h.gesserit@gmail.com wrote:

When I make a call to, say, _cat/allocation, does it only check local node
state, or does it make calls to other nodes in the cluster to verify?
I was looking comparing _cat behavior to _cluster/health under heavy load,
and the two seem to perform the same under load.

At the same time, I tried _nodes/_local/stats/name, and it performed much
better than either. Why is that?

--
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/1c86ced4-1981-4f61-8269-1da12a484a69%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/1c86ced4-1981-4f61-8269-1da12a484a69%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/CAGCwEM-MSg8bRwaob-ojZ9X2iPop%3D%3DnQYoo%2B9Z4ZQihri%3DNSVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.