kfaraz commented on PR #13367:
URL: https://github.com/apache/druid/pull/13367#issuecomment-1316525050

   @rohangarg , I ran some simulation tests with 10 historicals of equal disk 
capacity.
   The round-robin does seem to perform better than `random` strategy in the 
following cases, as seen by the distribution of number of segments on the 
different historicals.
   
   ```
   1. datasource "wiki" with 1k segments, 2 replicas
   random:      [186, 192, 192, 195, 199, 202, 207, 207, 210, 210]
   round-robin: [200, 200, 200, 200, 200, 200, 200, 200, 200, 200]
   
   2. datasource "koala" with 10k segments, 2 replicas
   random:       [965, 969, 989, 992, 995, 998, 1000, 1020, 1023, 1049]
   round-robin:  [1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000]
   
   3. both "koala" (1 replica) and "wiki" (3 replicas) published together
   random:       [1274, 1278, 1292, 1294, 1301, 1302, 1309, 1310, 1317, 1323]
   round-robin:  [1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300]
   ```
   
   I have also included the test in this PR. To get the above results, you can 
re-run the tests with round-robin disabled.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to