You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "socutes (via GitHub)" <gi...@apache.org> on 2023/02/18 02:42:43 UTC

[GitHub] [rocketmq] socutes opened a new issue, #6105: Optimize the timer implementation in Remoting

socutes opened a new issue, #6105:
URL: https://github.com/apache/rocketmq/issues/6105

   Timer is a common and effective tool for timing tasks. java provides several Timer tools, such as java.util.Timer and ScheduledThreadPoolExecutor.but these tools are flawed in execution efficiency.
   In the scenario of high concurrency and high traffic flow processing. some subtle performance differences, often have the effect of amplification, resulting in serious performance degradation.
   Therefore, you are advised to replace scheduled task scheduling [java.util.Timer](https://github.com/apache/rocketmq/issues/java.util.Timer) with [io.netty.util.HashedWheelTimer](https://github.com/apache/rocketmq/issues/io.netty.util.HashedWheelTimer) in Remoting.
   In addition, a piece of code that has been commented out is deleted


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] zhouxinyu commented on issue #6105: Optimize the timer implementation in Remoting

Posted by "zhouxinyu (via GitHub)" <gi...@apache.org>.
zhouxinyu commented on issue #6105:
URL: https://github.com/apache/rocketmq/issues/6105#issuecomment-1435494364

   Good catch. I assigned this issue to you, feel free to cancel it if you are not available for this issue. 


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] zhouxinyu closed issue #6105: Optimize the timer implementation in Remoting

Posted by "zhouxinyu (via GitHub)" <gi...@apache.org>.
zhouxinyu closed issue #6105: Optimize the timer implementation in Remoting
URL: https://github.com/apache/rocketmq/issues/6105


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org