June 2017
Beginner to intermediate
404 pages
8h 22m
English
Similar to transport client, node client is a native client that uses a binary protocol to communicate with Elasticsearch. The difference is when using a node client, the node client is added as one of the nodes to the cluster. And since the client is part of the cluster, it can route the request to the correct nodes directly, saving a few network hopes. Since the node client acts as one of the nodes in the cluster, other nodes ping the node client. This is a problem if you have a large cluster. Unless your performance benchmarks says the node client is better, it is recommended to use the transport or REST client.
Read now
Unlock full access