2 Servers with 2 primary shards... optimization questions
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 performance optimized from 2 primary shards on 2 separate severs? 3) With documentation stating we would end up with two nodes having one shard each, and one node doing double the work with two shardsspecifically the one node doing double the work with two shardsdo they mean 1 server having a primary shard and a replica shard? -- Also, Server1Server2 Primary Shard 1 Primary Shard 2 Replica Shard 2 Replica Shard 1 1) is this set up possible and would it be beneficial? If so, would I have to manually assign the shards or is this how ES does it default wise with 2 servers and 2 shards? 2) with this set up...if it is even possible...is there a read performance from having Primary Shard 1 on server 1 and having Replica Shard 1 on server 2? -- 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/3a16db74-e41f-469a-aecd-acf515074391%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Which ES cluster would give better performance? 1 shard 2 replicas or normal 2 shards
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. 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
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
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.