lizhimins commented on issue #10543:
URL: https://github.com/apache/rocketmq/issues/10543#issuecomment-4779447476

   PR#10544 将 ServiceThread 的等待/唤醒机制从 CountDownLatch2 改为 
LockSupport.park/unpark, 消除了 wakeup 信号丢失的 data race。测试结果表明:
   
   尾部延迟大幅改善:Send RT p99 从 21.25ms 降至 11.06ms(-48.0%),p99.9 从 40.93ms 降至 
21.81ms(-46.7%)
   中位延迟小幅优化:Send RT p50 从 4.57ms 降至 4.21ms(-7.9%),说明即使在正常路径上也减少了不必要的等待
   E2E 全链路受益:Consumer 端 E2E p99.9 从 40.19ms 降至 23.33ms(-42.0%),写入链路的延迟抖动显著降低
   无负面影响:吞吐量(~34k msg/s)与基线持平,avg 延迟略有下降


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