You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/05/03 11:40:36 UTC

[GitHub] irishmark opened a new issue #1313: Unbalanced load with cluster when load comes from replication

irishmark opened a new issue #1313: Unbalanced load with cluster when load comes from replication
URL: https://github.com/apache/couchdb/issues/1313
 
 
   I am currently load testing a couchDB 2.1.1 cluster. The load upon this cluster comes from two calls, a replication call (for a single table) and a REST call for an indexed document. By far the majority of the CPU load on the cluster comes from the replication call. (it's also called at the highest rate)
   
   When we load test we observe that a single node gets 95% of the load. Immediately repeating the test causes a different node to receive all the load (the cluster is n=3)
   
   Doing some investigation if I ask each node for the first 10 records of the replication call I get a different SEQ value for each node. 
   Is this expected?
   
   It seems to me that the unbalancing is because the SEQ chain it adopts for the replication only seems to be valid for a single node and this is the overloaded node. (all our clients are pre-seeded with a partially replicated DB and a single "lastSEQ" value, which appears to only be valid for a single node)
   
   So, I'm trying to work out if this is how it's supposed to work or if we have something wrong in our setup which is causing us to have differing SEQ chains on each node. Or perhaps something else is causing our uneven load?
   
   Could this behaviour be caused by an un-matched uuid, cookie or admin hash? I don't think these match in our cluster

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services