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 2021/02/19 23:05:47 UTC

[GitHub] [couchdb] nickva commented on pull request #3364: Fair Share Replication Scheduler Implementation (3.x)

nickva commented on pull request #3364:
URL: https://github.com/apache/couchdb/pull/3364#issuecomment-782437514


   To help test the PR I created a silly script which runs with a local `./dev/run -n1` cluster. It configures replication jobs and shares for three `_replicator` dbs and then continuously samples the proportion of running jobs in each db:
   
   https://gist.github.com/nickva/7e86b3df19537a60372217e0f68b693a
   
   So for the default parameters it might output something like:
   
   ```
    ** run stats num dbs: 3, total jobs: 100
   rdb1/_replicator 66 66%
   rdb2/_replicator 23 23%
   rdb3/_replicator 11 11%
   
    ** run stats num dbs: 3, total jobs: 100
   rdb1/_replicator 61 61%
   rdb2/_replicator 31 31%
   rdb3/_replicator 8 8%
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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