CuriousLinYu commented on issue #6041:
URL: 
https://github.com/apache/incubator-seata/issues/6041#issuecomment-5350212658

   I've reproduced this on 2.x (the RM client still enables batch send by 
default) and submitted a fix: #8205.
   
   Summary: the merge send thread now parks on `Condition.await()` (no timeout) 
when all baskets are empty, instead of spinning on a 1ms timed wait. The 1ms 
merge window is preserved after wake-up, so batching behavior under traffic is 
unchanged. Idle CPU drops from ~30% to ~0.
   
   Looking forward to review feedback.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to