You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/08/24 09:59:14 UTC
[GitHub] [rocketmq] Git-Yang opened a new issue #3286: Delay queue supports concurrent delivery of messages
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] odbozhou closed issue #3286: Delay queue supports concurrent delivery of messages
Posted by GitBox <gi...@apache.org>.
odbozhou closed issue #3286:
URL: https://github.com/apache/rocketmq/issues/3286
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] odbozhou commented on issue #3286: Delay queue supports concurrent delivery of messages
Posted by GitBox <gi...@apache.org>.
odbozhou commented on issue #3286:
URL: https://github.com/apache/rocketmq/issues/3286#issuecomment-965053670
merged
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org