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

**URL:** https://discuss.elastic.co/t/does-cat-api-verify-results-with-other-nodes-or-only-locally/17398
**Category:** Elasticsearch
**Created:** [May 7, 2014, 8:31pm UTC](https://discuss.elastic.co/t/does-cat-api-verify-results-with-other-nodes-or-only-locally/17398 "2014-05-07T20:31:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![H\_Gesserti](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@H\_Gesserti](https://discuss.elastic.co/u/H_Gesserti)
#### Post date: [May 7, 2014, 8:31pm UTC](https://discuss.elastic.co/t/does-cat-api-verify-results-with-other-nodes-or-only-locally/17398/1 "2014-05-07T20:31:38Z")

</div>

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](mailto: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).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [June 1, 2014, 7:49pm UTC](https://discuss.elastic.co/t/does-cat-api-verify-results-with-other-nodes-or-only-locally/17398/2 "2014-06-01T19:49:38Z")

</div>

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](mailto: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](mailto: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)  
> [https://groups.google.com/d/msgid/elasticsearch/1c86ced4-1981-4f61-8269-1da12a484a69%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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/CAGCwEM-MSg8bRwaob-ojZ9X2iPop%3D%3DnQYoo%2B9Z4ZQihri%3DNSVA%40mail.gmail.com](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](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:25am UTC](https://discuss.elastic.co/t/does-cat-api-verify-results-with-other-nodes-or-only-locally/17398/3 "2017-07-06T01:25:24Z")

</div>


