GitHub user asdf2014 opened a pull request: https://github.com/apache/flume/pull/194
Using `volatile + ConcurrentHashMap + LongAdder` instead of `syncrhonzied + HashMap + AtomicLong` for CounterGroup Using `volatile + ConcurrentHashMap + LongAdder` instead of `syncrhonzied + HashMap + AtomicLong` for CounterGroup. Get more details from my blog: [yuzhouwan.com](https://yuzhouwan.com/posts/31915#LongAdder). You can merge this pull request into a Git repository by running: $ git pull https://github.com/asdf2014/flume counter_group Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/194.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #194 ---- commit 9bd84f6f2fa77b99414543ec78a61c11018b5a38 Author: asdf2014 <benedictjin2016@...> Date: 2018-01-17T07:55:02Z Using `volatile + ConcurrentHashMap + LongAdder` instead of `syncrhonzied + HashMap + AtomicLong` for CounterGroup ---- ---