Re: [broker]loadBalancerMemoryResourceWeight config default value optimiz

2021-12-24 Thread Haiting Jiang
Agreed on the default settings would cause some unnecessary bundle shedding. But I believe that disable it by default is not the best option here. I would like share some preliminary thoughts on this, 1) About memory usage definition, we can try to use the memory usage just after last GC instea

[broker]loadBalancerMemoryResourceWeight config default value optimiz

2021-12-23 Thread jiangxinwei
https://github.com/apache/pulsar/pull/13464 Pasted below for quoting convenience. --- Motivation memory.percentUsage() value is depends on the gc trigger moment, this value has a random affect on ThresholdShedder loadBalancer strategy. it is a meaningless dimension the usage data from o