Expresses the impact of using setStatsSampleRate / topology.stats.sample.rate
1 answer
topology.stats.sample.rate
configures the rate at which the Storm topology statistics will be calculated.
The default in defaults.yaml is 0.05
. This means that only five out of 100 events are counted.
The value 1
means that each tuple statistic will be calculated.
Will it really hurt performance? Most likely, many will say yes, but since every environment is different, I would say it's best to measure it yourself. Increase and decrease the value and measure the bandwidth of your topology.
+8
source to share