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 shard1 that are very popular for
a large number of searches, every single one of those requests must be
handled by host1 in the first setup. In the second setup, any requests for
documents on shard1 will be distributed between the 3 hosts, resulting in
less work for any single host.

Best,
Chris


On Thu, Apr 19, 2018 at 8:28 AM Bernd Fehling <
bernd.fehl...@uni-bielefeld.de> wrote:

> How would you setup a SolrCloud an why?
>
>
>  shard1       shard2       shard3
> --------     --------     --------
> | ---- |     | ---- |     | ---- |
> | |r1| |     | |r1| |     | |r1| |
> | ---- |     | ---- |     | ---- |
> |      |     |      |     |      |
> | ---- |     | ---- |     | ---- |
> | |r2| |     | |r2| |     | |r2| |
> | ---- |     | ---- |     | ---- |
> |      |     |      |     |      |
> | ---- |     | ---- |     | ---- |
> | |r3| |     | |r3| |     | |r3| |
> | ---- |     | ---- |     | ---- |
> --------     --------     --------
>  host1        host2        host3
>
>
>         --------     --------     --------
>         | ---- |     | ---- |     | ---- |
> shard1  | |r1| |     | |r2| |     | |r3| |
>         | ---- |     | ---- |     | ---- |
>         |      |     |      |     |      |
>         | ---- |     | ---- |     | ---- |
> shard2  | |r1| |     | |r2| |     | |r3| |
>         | ---- |     | ---- |     | ---- |
>         |      |     |      |     |      |
>         | ---- |     | ---- |     | ---- |
> shard3  | |r1| |     | |r2| |     | |r3| |
>         | ---- |     | ---- |     | ---- |
>         --------     --------     --------
>          host1        host2        host3
>
>
> Regards
> Bernd
>
>
>

Reply via email to