Thanks. The split brain problem aside: Is it faster for elasticsearch to 
read a shard than a replica?

On Monday, February 10, 2014 11:44:41 AM UTC+1, Mark Walkom wrote:
>
> 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] <javascript:>
> web: www.campaignmonitor.com
>
>
> On 10 February 2014 21:22, Valentin <[email protected] <javascript:>>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] <javascript:>.
>> 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/2dad1568-715a-4b35-91ce-7c5c56692919%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to