Thanks Emir and Benedetti.

Yes, I'm already on SolrCloud, so I'll probably stick to that.

Regarding the network, I am just afraid that when the replica code copies
the index over from the main node, it will use up all the available
bandwidth, and causes the search query to have little bandwidth left, which
will affect the performance of the search from the front-end.

Regards,
Edwin


On 4 February 2016 at 01:06, Alessandro Benedetti <abenede...@apache.org>
wrote:

> Master/Slave is the old legacy way to obtain a resilient system.
> It's easier to setup, but if you are already on SolrCloud I can not see any
> advantage in moving back.
> Related the networking part, I am not a network expert.
> The only think I can tell you is that the inter-nodes communication is
> going to happen on the same REST endpoints and handlers which are used for
> search/updates ( same java process).
> I really doubt it is possible to have them running across different
> physical network interfaces.
>
> Cheers
>
>
> On 3 February 2016 at 10:41, Emir Arnautovic <emir.arnauto...@sematext.com
> >
> wrote:
>
> > Hi Edwin,
> > Master-Slave's main (maybe only) advantage is simpler infrastructure - it
> > does not use ZK. Also, it does assume you don't need NRT search since
> there
> > has to be longer periods between replicating master changes to slaves.
> >
> > Regards,
> > Emir
> >
> >
> > On 03.02.2016 04:48, Zheng Lin Edwin Yeo wrote:
> >
> >> Hi Emir,
> >>
> >> Thanks for your reply.
> >>
> >> As currently both of my main and replica are in the same server, and as
> I
> >> am using the SolrCloud setup, both the replica are doing the merging
> >> concurrently, which causes the memory usage of the server to be very
> high,
> >> and affect the other functions like querying. This issue should be
> >> eliminated when I shift my replica to another server.
> >>
> >> Would like to check, will there be any advantage if I change to the
> >> Master-Slave setup, as compared to the SolrCloud setup which I am
> >> currently
> >> using?
> >>
> >> Regards,
> >> Edwin
> >>
> >>
> >>
> >> On 2 February 2016 at 21:23, Emir Arnautovic <
> >> emir.arnauto...@sematext.com>
> >> wrote:
> >>
> >> Hi Edwin,
> >>> Do you see any signs of network being bottleneck that would justify
> such
> >>> setup? I would suggest you monitor your cluster before deciding if you
> >>> need
> >>> separate interfaces for external and internal communication. Sematext's
> >>> SPM
> >>> (http://sematext.com/spm) allows you to monitor SolrCloud, hosts and
> >>> network and identify bottlenecks in your cluster.
> >>>
> >>> Regards,
> >>> Emir
> >>>
> >>> --
> >>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> >>> Solr & Elasticsearch Support * http://sematext.com/
> >>>
> >>>
> >>>
> >>> On 02.02.2016 00:50, Zheng Lin Edwin Yeo wrote:
> >>>
> >>> Hi Emir,
> >>>>
> >>>> My setup is SolrCloud.
> >>>>
> >>>> Also, will it be good to use a separate network interface to connect
> the
> >>>> two node with the interface that is used to connect to the network for
> >>>> searching?
> >>>>
> >>>> Regards,
> >>>> Edwin
> >>>>
> >>>>
> >>>> On 1 February 2016 at 19:01, Emir Arnautovic <
> >>>> emir.arnauto...@sematext.com>
> >>>> wrote:
> >>>>
> >>>> Hi Edwin,
> >>>>
> >>>>> What is your setup - SolrCloud or Master-Slave? If it si SolrCloud,
> >>>>> then
> >>>>> under normal index updates, each core is behaving as independent
> index.
> >>>>> In
> >>>>> theory, if all changes happen at the same time on all nodes, merges
> >>>>> will
> >>>>> happen at the same time. But that is not realistic and it is expected
> >>>>> to
> >>>>> happen in slightly different time.
> >>>>> If you are running Master-Slave, then new segments will be copied
> from
> >>>>> master to slave.
> >>>>>
> >>>>> Regards,
> >>>>> Emir
> >>>>>
> >>>>> --
> >>>>> Monitoring * Alerting * Anomaly Detection * Centralized Log
> Management
> >>>>> Solr & Elasticsearch Support * http://sematext.com/
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>>> I would like to check, during segment merging, how did the replical
> >>>>>> node
> >>>>>> do
> >>>>>> the merging?
> >>>>>> Will it do the merging concurrently, or will the replica node delete
> >>>>>> the
> >>>>>> old segment and replace the new one?
> >>>>>>
> >>>>>> Also, is it possible to separate the network interface for
> inter-node
> >>>>>> communication from the network interface for update/search requests?
> >>>>>> If so I could put two network cards in each machine and route the
> >>>>>> index
> >>>>>> and
> >>>>>> search traffic over the first interface and the traffic for the
> >>>>>> inter-node
> >>>>>> communication (sending documents to replicas) over the second
> >>>>>> interface.
> >>>>>>
> >>>>>> I'm using Solr 5.4.0
> >>>>>>
> >>>>>> Regards,
> >>>>>> Edwin
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> > --
> > Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> > Solr & Elasticsearch Support * http://sematext.com/
> >
> >
>
>
> --
> --------------------------
>
> Benedetti Alessandro
> Visiting card : http://about.me/alessandro_benedetti
>
> "Tyger, tyger burning bright
> In the forests of the night,
> What immortal hand or eye
> Could frame thy fearful symmetry?"
>
> William Blake - Songs of Experience -1794 England
>

Reply via email to