-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
Description
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 with io.netty.util.HashedWheelTimer in Remoting.
In addition, a piece of code that has been commented out is deleted