I'd add another node into the cluster to allow easier quorum and prevent split brain. Then split the index into (at least) 3 shards to spread the load. Ideally you want to try to get one shard per node.
Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: [email protected] web: www.campaignmonitor.com On 10 February 2014 21:22, Valentin <[email protected]> wrote: > Hi, > > I use elasticsearch for logfile analysis. I use rolling indeces on a daily > basis. I use 2 elasticsearch-servers behind a loadbalancer. The data is > sent to the load balancer and then inserted on the according server. I use > 1 index with 1 shard and 1 replica. So there is "one file" on both server. > The data is queried through the load balancer as well. And I am always > querying the current day and the same day last week. > > My question now is: Would it be better to use a daily index with 2 or more > shards? > > Greetings, > Valentin > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/3b3fb4ff-0bc1-4b83-ac2d-d421d6f8ad06%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624bHQYFjzn3NPVoq9y1K2ziEo9qqzuDRSW5MvPnythdxtQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
