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?
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).
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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.