Clarify on transport client over coordinating nodes with sniffing enabled


(Hexin Wang) #1

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?


(David Pilato) #2

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


(Hexin Wang) #3

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?


(David Pilato) #4

Exact


(Hexin Wang) #5

Got it. Thanks!


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.