Git-Yang commented on pull request #3478:
URL: https://github.com/apache/rocketmq/pull/3478#issuecomment-965983331


   ### Test Results
   - Before optimization
      - First step
         - 1w messages are sent through the script, and each message generates 
a unique self-increasing Key (0~9999)
         - After the message is sent, the delayed message is still being 
delivered, and the broker service is restarted at this time.
      - Second step
         - Detect whether the message is lost or repeated according to the 
unique self-increment key.
        - The test result is that no messages are lost and there are 7395 
message duplications.
   
![image](https://user-images.githubusercontent.com/30995057/141237048-479da44b-6102-41b0-a507-82c9e2214e7f.png)
   
![image](https://user-images.githubusercontent.com/30995057/141237327-ceca785d-2930-4f81-8e27-8f1e0bb75edd.png)
   - After optimization
      - Repeat the above steps
      - The test result is no data loss, no data duplication.
   
![image](https://user-images.githubusercontent.com/30995057/141237606-af69869e-5e94-48ad-a4ba-69c683041f7c.png)
   
![image](https://user-images.githubusercontent.com/30995057/141237629-e61c8b71-df32-4583-8c24-2546d58f213c.png)
      - Strengthen the testing process
         - 100w messages are sent through the script, and each message 
generates a unique self-increasing Key (0~999999)
         - The message delivery process restarts the service multiple times.
         - The test result is no data loss, no data duplication.
   
![image](https://user-images.githubusercontent.com/30995057/141237713-383a051b-d5fe-4c8c-b635-2340d8ce052e.png)
   
![image](https://user-images.githubusercontent.com/30995057/141237721-5027c499-e98d-4d21-bae0-99aa57e06bc9.png)
   
   
   
   


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


Reply via email to