allthingssecurity commented on PR #30861:
URL: https://github.com/apache/camel/pull/30861#issuecomment-7194053101

   Thanks Claus, fair question. The end-to-end runs with 
`concurrentConsumers=4` are within noise, as you say; only the publish 
microbenchmark shows the gain, and with `producerType=Single` it cannot help. 
The reason for the change was the cost bot flagged on #30821 (every publish 
going through one contended counter), not a measured end-to-end win. I am fine 
either way: if you prefer to keep the plain `AtomicInteger` of #30821, I will 
close this. If you want to keep it, I will add the small direct test you 
describe (package-private `PublishesInFlight`, increment on one thread, 
`isZero()` false from another, then true after the decrement).


-- 
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]

Reply via email to