1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fallback Hostnames

Discussion in 'Enhanced Search Suggestions' started by digitalpoint, Apr 28, 2012.

  1. digitalpoint

    digitalpoint Well-Known Member

    ElasticSearch does an amazing job at sharding/replicating data to multiple nodes (servers)...

    I think a fairly common setup for large boards is going to be just set the ElasticSearch hostname to localhost, and run nodes on all web servers. Let's say you have 10 servers/nodes running ElasticSearch and 1 of them fails... Everything is still fine as long as the requests are connecting to any of the 9 surviving nodes.

    It seems to me that it would be very useful to have backup hostnames if the connection to the primary fails (for reads and ESPECIALLY writes). When the failed node is back online, ElasticSearch will automatically sync it up with the other nodes and everything would be dandy... It's just an issue when you are trying to write something to the system (like a new post) that never made it to any node.
    Xon, jeffwidman, Walter and 4 others like this.

Share This Page