Subject: Slow Clustering
How many cluster replicators do you have?
A cluster should take less than 5 seconds to update a document on a cluster.
You can run this command on your clustered servers:
show stat replica.cluster*
You will have stats like that:
Replica.Cluster.CachedHandles Number of handles cached by cluster.
Replica.Cluster.Docs.Added Number of docs added by cluster replicator.
Replica.Cluster.Docs.Deleted Number of docs deleted by cluster replicator.
Replica.Cluster.Docs.Updated Number of docs updated by cluster replicator.
Replica.Cluster.Failed Number of failed replications since server startup.
Replica.Cluster.Files.Local Number of cluster replicas on this server.
Replica.Cluster.Files.Remote Number of cluster replicas on other servers in cluster.
Replica.Cluster.Retry.Skipped Number of times the Cluster Replicator did not attempt replication because it knew the server was unreachable or the database inaccessible.
Replica.Cluster.Retry.Waiting Number of replicas currently waiting for replication retry attempts.
Replica.Cluster.SecondsOnQueue Number of seconds Cluster Replictor was on queue.
Replica.Cluster.SecondsOnQueue.Avg Average number of seconds Cluster Replictor was on queue.
Replica.Cluster.SecondsOnQueue.Max Maximum number of seconds Cluster Replictor was on queue.
Replica.Cluster.Servers Number of other servers in the cluster that are receiving replications from this server.
Replica.Cluster.SessionBytes.In Number of incoming bytes to the Cluster Replicator.
Replica.Cluster.SessionBytes.Out Number of outgoing bytes to the Cluster Replicator.
Replica.Cluster.Successful Number of successful replications since server startup.
Replica.Cluster.WorkQueueDepth Current number of modified databases in the queue waiting to be replicated by the Cluster Replicator to other servers.
Replica.Cluster.WorkQueueDepth.Avg Average number of modified databases in the queue waiting to be replicated by the Cluster Replicator to other servers.
Replica.Cluster.WorkQueueDepth.Max Maximum number of modified databases in the queue waiting to be replicated by the Cluster Replicator to other servers.
Replica.Docs.Added Number of documents added to the server’s databases via replication.
Replica.Docs.Deleted Number of documents deleted from the server’s databases via replication.
Replica.Docs.Updated Number of documents updated in the server’s databases via replication.
Replica.Failed Number of attempted replications that returned some kind of error.
Replica.Successful Number of replication attempts that returned no error of any kind.
If you run good servers, with dedicated network card, you should run at least 4 instances. One of my client was runnign 6 instances of cluster replicator without any problems.
JYR