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

   ### Before Creating the Enhancement Request
   
   - [x] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   When the message body is too large or has fixed characteristics, using 
dictionaries can further improve the compression rate and thus improve the 
throughput.
   
   ### Motivation
   
   The compressed message body is more than 10KB, but with dictionaries it can 
be reduced to about 5KB
   
   ### Describe the Solution You'd Like
   
   1. design a dictionary management mechanism between client and broker
   2. add the attribute of whether to enable dictionary and which dictionary to 
use for compression/decompression
   3. implement a new ZstdDictCompressor interface and compression and 
decompression based on dictionary-related configurations
   
   ### Describe Alternatives You've Considered
   
   The question that can be discussed is how to manage dictionaries
   There may be several choices
   1. The dictionary file is passed in as the client configuration
   2. The dictionary is dynamically trained, generated, and managed by the 
broker
   3. The training and management of the dictionary are handled by a 
third-party component
   
   
   
   ### Additional Context
   
   _No response_


-- 
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-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to