If I initialize a transport client with only coordinating nodes specified, should I disable sniffing by default so the index/search request is guaranteed to go to coordinating nodes only? Is there any performance hit for indexing since now there is one extra hop from coordinator node to data node?
By default sniffing est disabled.
Having coordinating nodes is good IMO unless you have only a few data nodes.
BTW use the REST Client instead if you are starting a new project
Thanks @dadoonet. Given that data node might still need to route the request to the right shard, can I say performance with coordinator should not deviate that much compared with directly sending request to data node?
Got it. Thanks!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.