I would like to know how master nodes works without replica.
If I have an structure like I said before (2 nodes in different servers) and I need to execute a search/insert/delete/etc what node do I need to use in order to get the query?
I understand that the data is shared across the two nodes but I am not sure how it works. Do I need to create an client node in order to merge the data (remember I dont have replica enabled)?
Thanks
If I have an structure like I said before (2 nodes in different servers) and I need to execute a search/insert/delete/etc what node do I need to use in order to get the query?
You can connect to any node in the cluster.
I understand that the data is shared across the two nodes but I am not sure how it works. Do I need to create an client node in order to merge the data (remember I dont have replica enabled)?
No. The ES node you connect to (again, either one) will merge the data for the connecting client.
But If I execute so many petitions per seconds to a one node. Do you think this is the best architecture for that?
It's a good idea to round-robin requests between the nodes of the cluster. In some cases one might want to have client nodes that don't store data and just deal with queries and other requests, but that's typically not necessary or cost-efficient for small clusters.
I have 2 servers (Memory RAM= 32GB , HardDisk = 7.2T) and 1 node per server.
So, are you telling me It is better to have two master nodes without a client node because it cost a lot for small cluster?
I want to make sure that I have the best architecture for my hardware
Thanks
If you have just one client node it becomes a single point of failure, so maybe you'd actually want more than one? But I suspect that money is better spent on getting a well-equipped cluster overall. Whether it's a good idea with dedicated client nodes also depends on the kind of queries you make, and how many of them.