codelipenghui opened a new pull request #6647: Improve Key_Shared subscription 
message dispatching performance.
URL: https://github.com/apache/pulsar/pull/6647
 
 
   ### Motivation
   
   Improve Key_Shared subscription message dispatching performance.
   
   ### Modifications
   
   1. Reduce make hash for the message key
   2. Reduce select consumer
   
   ### Verifying this change
   
   Performance improves.
   
   On my laptop, publish messages with rate 150k/s and create 1500 consumers. 
The consumption rate can't catchup the message publish rate.
   
   After this change, 3000 consumers still can catchup the message publish 
rate. 
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to