Git-Yang opened a new issue #3286: URL: https://github.com/apache/rocketmq/issues/3286
**Problem:** The delay queue currently schedules different queue threads through the Timer. Because the timer is a single-threaded scheduling and is executed sequentially and serially, the message delivery performance is poor.  The test results are as follows: - Simultaneously send messages with four delay levels  **Optimization:** - By replacing Timer with ScheduledExecutorService, all queue threads can send messages concurrently. The test results are as follows: - Simultaneously send messages with four delay levels  2. Please tell us about your environment: Linux / rocketmq 4.8 3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc): - By replacing Timer with ScheduledExecutorService. -- 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]
