[ 
https://issues.apache.org/jira/browse/SOLR-6273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613124#comment-14613124
 ] 

Renaud Delbru commented on SOLR-6273:
-------------------------------------

Hi Martin,

The google doc is up to date with the current implementation. One suggestion is 
for tuning the performance of the replication. The performance of the 
replication depends on the "Replicator Parameters". In your scenario, the two 
main parameters will be "schedule" and "batchSize". If you would like to see a 
very small latency between replication batches, you can decrease the "schedule" 
parameter from 1000ms to 1ms. To improve the network IO, you can also try to 
increase the "batchSize" parameter to a larger number (if your documents are a 
few kbs or less, you can try to increase it to 500, 1000 or more). 

To measure the impact that the parameters have on the replication performance, 
you can use the monitoring api, e.g., ?action=QUEUES, to retrieve some stats 
about the replication queue. The queue size will tell you how much your replica 
lags behind the source cluster. If the replication is not fast enough, you'll 
see the queue size increasing. The idea is to try to tune the schedule and 
batchSize parameters until you find the optimal values for your collection and 
setup, and see this queue being relatively stable and small.

> Cross Data Center Replication
> -----------------------------
>
>                 Key: SOLR-6273
>                 URL: https://issues.apache.org/jira/browse/SOLR-6273
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Erick Erickson
>         Attachments: SOLR-6273-trunk-testfix1.patch, 
> SOLR-6273-trunk-testfix2.patch, SOLR-6273-trunk.patch, SOLR-6273-trunk.patch, 
> SOLR-6273.patch, SOLR-6273.patch, SOLR-6273.patch, SOLR-6273.patch
>
>
> This is the master issue for Cross Data Center Replication (CDCR)
> described at a high level here: 
> http://heliosearch.org/solr-cross-data-center-replication/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to