2 Servers with 2 primary shards... optimization questions

2015-01-22 Thread Darin Hensley
With this set up: Server1Server2 Primary Shard 1 Primary Shard 2 Replica Shard 1 Replica Shard 2 1) If primary shard 1 failed, would replica shard 1 take over and become primary shard 1? 2) Is reading

Which ES cluster would give better performance? 1 shard 2 replicas or normal 2 shards

2015-01-21 Thread Darin Hensley
Which cluster would give better read performance on two separate servers? ES cluster Foo [] serverA - 1 primary shard [] serverB - 2 replica Shards ES cluster Bar [] serverA - 1 primary shard and 1 replica shard [] serverB - 1 primary shard and 1 replica shard -- You received this message

Re: Which ES cluster would give better performance? 1 shard 2 replicas or normal 2 shards

2015-01-21 Thread Darin Hensley
Oh, I see what you mean...sorry about that. Thanks! On Wednesday, January 21, 2015 at 10:17:38 AM UTC-6, Darin Hensley wrote: Which cluster would give better read performance on two separate servers? ES cluster Foo [] serverA - 1 primary shard [] serverB - 2 replica Shards ES cluster Bar

Re: Which ES cluster would give better performance? 1 shard 2 replicas or normal 2 shards

2015-01-21 Thread Darin Hensley
and no primaries is not important. On Wednesday, January 21, 2015 at 10:17:38 AM UTC-6, Darin Hensley wrote: Which cluster would give better read performance on two separate servers? ES cluster Foo [] serverA - 1 primary shard [] serverB - 2 replica Shards ES cluster Bar [] serverA - 1 primary shard