Do I tell the world to hit one node? Or many? Or load balance?

It's really left up to you to decide.

Options are;

  • Load balancer like HAProxy, nginx
  • Multi entry DNS record (ie roundrobin)
  • Having a client join the cluster for inserts

There may be more others can suggest.

On 4 December 2014 at 07:19, Christopher Ambler const.dogberry@gmail.com
wrote:

I have a nice, performant cluster of 5 nodes. They're all on separate
machines on the same switch. Life is good.

Now...

Do I tell the consumers of my Elasticsearch cluster to hit any of the five
nodes as suits their fancy? Or do I give them the name of ONE node? If so,
is that node configured any differently?

Or do I put all five behind a virtual IP and load balance them?

I can't find any documentation on best practices here.

Thoughts?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/51237fd8-eefa-4d2b-9c1a-296dd391e98d%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/51237fd8-eefa-4d2b-9c1a-296dd391e98d%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8g5%2BWn8fYcH1HR%3DGahjz3V6dxr-W3ZNUMURX9zgpYDUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.