Re: SolrCloud design question

2018-04-20 Thread Shawn Heisey
On 4/20/2018 5:38 AM, Bernd Fehling wrote: Thanks Alessandro for the info. I am currently in the phase to find the right setup with shards, nodes, replicas and so on. I have decided to begin with 5 hosts and want to setup 1 collection with 5 shards. And start with 2 replicas per shard. But

Re: SolrCloud design question

2018-04-20 Thread Erick Erickson
bq: should each replica get its own instance By "instance" here I'm assuming you mean a JVM, i.e. running multiple JVMs on a single physical node (host). "It Depends"(tm) of course. Each JVMs have some overhead. What I've usually found is that a better question is "how much heap do I need to

Re: SolrCloud design question

2018-04-20 Thread Bernd Fehling
Thanks Alessandro for the info. I am currently in the phase to find the right setup with shards, nodes, replicas and so on. I have decided to begin with 5 hosts and want to setup 1 collection with 5 shards. And start with 2 replicas per shard. But the next design question is, should each

Re: SolrCloud design question

2018-04-20 Thread Alessandro Benedetti
Unless you use recent Solt 7.x features where replicas can have different properties[1], each replica is functionally the same at Solr level. Zookeeper will elect a leader among them ( so temporary a replica will have more responsibilities ) but (R1-R2-R3) does not really exist at Solr level. It

Re: SolrCloud design question

2018-04-19 Thread Bernd Fehling
Hi Shawn, OK, got that. Would shuffling or shifting the replicas bring any benfit or is it just wasted time? | | | | | | shard1 | |r1| | | |r2| | | |r3| | | | | | | | |

Re: SolrCloud design question

2018-04-19 Thread Chris Ulicny
Beyond failure/maintenance concerns, the first setup is not necessarily a good distribution of the hosts' resources. Depending on the use case, it could be much more prone to hot-spots in the cluster, especially if routing or manual sharding is involved. If for some reason, there are documents on

Re: SolrCloud design question

2018-04-19 Thread Shawn Heisey
On 4/19/2018 6:28 AM, Bernd Fehling wrote: How would you setup a SolrCloud an why? shard1 shard2 shard3 | | | | | | | |r1| | | |r1| | | |r1| | | | | | | | | | | | | | |

SolrCloud design question

2018-04-19 Thread Bernd Fehling
How would you setup a SolrCloud an why? shard1 shard2 shard3 | | | | | | | |r1| | | |r1| | | |r1| | | | | | | | | | | | | | | | | | | | | |r2| |