gabriellefu commented on PR #24397: URL: https://github.com/apache/kafka/pull/24397#issuecomment-7175284358
Testbed with the number of standby replicas fixed (local override of the
testbed from #23556, default base seed), trunk → this PR.
All invariants pass on both. Lower is better except for "Distinct tag
values".
**LARGE, from empty assignment (30 scenarios per column)**
| Metric (avg) | 2 standbys | 3 standbys | 4 standbys |
|---|---|---|---|
| Tasks lost when one value of key 1 fails | 0.078 → 0.052 | 0.027 → 0.020
| 0.013 → 0.008 |
| Tasks lost when one value of key 2 fails | 0.127 → 0.049 | 0.052 → 0.015
| 0.024 → 0.003 |
| Distinct tag values of key 1 | 0.851 → 0.845 | 0.885 → 0.883 | 0.919 →
0.919 |
| Distinct tag values of key 2 | 0.804 → 0.794 | 0.853 → 0.843 | 0.903 →
0.900 |
| Task balance per member | 3.200 → 2.700 | 5.833 → 5.433 | 12.733 →
12.567 |
| Load balance per process | 2.660 → 2.175 | 5.298 → 4.873 | 12.236 →
12.046 |
| Not converged (of 30) | 3 → 3 | 10 → 9 | 11 → 13 |
**LARGE, from previous assignment (131 rebalances per column)**
| Metric (avg) | 2 standbys | 3 standbys | 4 standbys |
|---|---|---|---|
| Tasks lost when one value of key 1 fails | 0.079 → 0.058 | 0.024 → 0.019
| 0.009 → 0.008 |
| Tasks lost when one value of key 2 fails | 0.114 → 0.058 | 0.050 → 0.020
| 0.020 → 0.009 |
| Distinct tag values of key 1 | 0.849 → 0.846 | 0.894 → 0.892 | 0.928 →
0.927 |
| Distinct tag values of key 2 | 0.807 → 0.802 | 0.854 → 0.852 | 0.905 →
0.903 |
| Task balance per member | 3.534 → 3.275 | 6.069 → 5.893 | 11.809 →
11.641 |
| Load balance per process | 2.685 → 2.388 | 5.254 → 4.951 | 10.973 →
10.773 |
| Standby tasks placed without state | 70.79 → 64.20 | 96.23 → 92.41 |
128.37 → 128.60 |
| Not converged (of 131) | 16 → 9 | 36 → 26 | 62 → 59 |
**SMALL, from empty assignment (300 scenarios per column)**
| Metric (avg) | 2 standbys | 3 standbys | 4 standbys |
|---|---|---|---|
| Tasks lost when one value of key 1 fails | 0.088 → 0.072 | 0.034 → 0.030
| 0.009 → 0.009 |
| Tasks lost when one value of key 2 fails | 0.103 → 0.088 | 0.029 → 0.029
| 0.004 → 0.004 |
| Tasks lost when one value of key 3 fails | 0.103 → 0.098 | 0.045 → 0.032
| 0.013 → 0.008 |
| Distinct tag values of key 1 | 0.894 → 0.894 | 0.939 → 0.939 | 0.973 →
0.974 |
| Distinct tag values of key 2 | 0.890 → 0.896 | 0.953 → 0.953 | 0.980 →
0.978 |
| Distinct tag values of key 3 | 0.849 → 0.852 | 0.916 → 0.920 | 0.971 →
0.969 |
| Task balance per member | 1.640 → 1.610 | 2.343 → 2.303 | 2.963 → 2.937
|
| Load balance per process | 1.224 → 1.205 | 1.927 → 1.886 | 2.543 → 2.522
|
| Not converged (of 300) | 0 → 0 | 0 → 0 | 0 → 0 |
**SMALL, from previous assignment (1291 rebalances per column)**
| Metric (avg) | 2 standbys | 3 standbys | 4 standbys |
|---|---|---|---|
| Tasks lost when one value of key 1 fails | 0.104 → 0.093 | 0.041 → 0.039
| 0.012 → 0.012 |
| Tasks lost when one value of key 2 fails | 0.109 → 0.098 | 0.035 → 0.032
| 0.008 → 0.009 |
| Tasks lost when one value of key 3 fails | 0.121 → 0.116 | 0.029 → 0.027
| 0.005 → 0.005 |
| Distinct tag values of key 1 | 0.888 → 0.887 | 0.933 → 0.931 | 0.972 →
0.972 |
| Distinct tag values of key 2 | 0.882 → 0.882 | 0.944 → 0.945 | 0.977 →
0.975 |
| Distinct tag values of key 3 | 0.877 → 0.879 | 0.941 → 0.941 | 0.974 →
0.973 |
| Task balance per member | 2.223 → 2.194 | 3.039 → 3.006 | 3.892 → 3.863
|
| Load balance per process | 1.752 → 1.730 | 2.517 → 2.492 | 3.348 → 3.332
|
| Standby tasks placed without state | 2.017 → 2.037 | 2.162 → 2.138 |
2.088 → 2.064 |
| Not converged (of 1291) | 0 → 0 | 1 → 1 | 2 → 0 |
--
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]
