You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "f1amingo (via GitHub)" <gi...@apache.org> on 2026/05/26 06:30:57 UTC

[I] [Enhancement] Make HashedWheelTimer parameters configurable in QueueLevelConsumerOrderInfoLockManager [rocketmq]

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

   ### Before Creating the Enhancement Request
   
   - [x] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
   
   
   ### Summary
   
   Make HashedWheelTimer parameters configurable in QueueLevelConsumerOrderInfoLockManager via BrokerConfig.
   
   ### Motivation
   
   The HashedWheelTimer in QueueLevelConsumerOrderInfoLockManager uses hardcoded tick duration (100ms) and default ticksPerWheel (512). These parameters affect timer precision and memory usage but cannot be tuned without code changes.
   
   ### Describe the Solution You'd Like
   
   Add two fields to BrokerConfig:
   popOrderLockTimerTickMs (default: 100)
   popOrderLockTimerTicksPerWheel (default: 512)
   Use them in QueueLevelConsumerOrderInfoLockManager to construct HashedWheelTimer. Defaults preserve backward compatibility.
   
   ### Describe Alternatives You've Considered
   
   - Keep hardcoded values: simple but inflexible.
   - Use system properties: less discoverable and inconsistent with existing config style.
   
   ### Additional Context
   
   None.


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


Re: [I] [Enhancement] Make HashedWheelTimer parameters configurable in QueueLevelConsumerOrderInfoLockManager [rocketmq]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #10381: [Enhancement] Make HashedWheelTimer parameters configurable in QueueLevelConsumerOrderInfoLockManager
URL: https://github.com/apache/rocketmq/issues/10381


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