kirktrue commented on PR #20324: URL: https://github.com/apache/kafka/pull/20324#issuecomment-3256775481
I'd like to realign the core conversation to the approach in this PR (and #20363) which is the elimination of `addAndGet()` on the common path. The performance bottleneck in `AsyncKafkaConsumer.poll()` is `addAndGet()`, pure and simple. When the application thread calls `addAndGet()` on the common path in `poll()`, the CPU usage spikes. I'm convinced that we can remove calls to `addAndGet()` from the common path in `poll()` through smart and careful sharing of state. -- 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]
