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
 [] serverA - 1 primary shard and 1 replica shard
 [] serverB - 1 primary shard and 1 replica shard


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6c59527a-51c8-4174-939f-dd142512fab3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-01-21 Thread Darin Hensley
On 
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/replica-shards.html
 
in Figure 52. Adjust the number of replicas to balance the load between 
nodes they show Node 3 which contains only 2 replica shards. They state in 
it The fact that node 3 holds two replicas 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 and 1 replica shard
 [] serverB - 1 primary shard and 1 replica shard


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/24dddc28-5aaa-4621-9181-c65d55660a8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-01-21 Thread Mark Walkom
You won't ever be able to store two of the same replicas shards on the same
server, so your first example won't work.

On 22 January 2015 at 05:17, Darin Hensley darin.hens...@gmail.com 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 and 1 replica shard
 [] serverB - 1 primary shard and 1 replica shard

 --
 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+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/elasticsearch/f76d093b-15a6-4896-909f-517a3acd379a%40googlegroups.com
 https://groups.google.com/d/msgid/elasticsearch/f76d093b-15a6-4896-909f-517a3acd379a%40googlegroups.com?utm_medium=emailutm_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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9_fNS-xmE%3DAr1tFXX-ewu1VobAgh%2BnMcS_2VxZavATKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.