quantranhong1999 commented on PR #997:
URL: https://github.com/apache/james-project/pull/997#issuecomment-1135390094

   ## Audit massive operation performance
   
   ### 12k messages, 50 batch size, no change (master branch)
   
![image.png](https://images.zenhubusercontent.com/5f7fe3b8b67a756e7c63d181/e8f80359-1835-45f0-b638-1dc926349330)
   
   ### 12k messages, 50 batch size, flatMap change only (+ concatMap for rename)
   
![image.png](https://images.zenhubusercontent.com/5f7fe3b8b67a756e7c63d181/21df9139-6743-40dd-8016-2c2996fe2067)
   
   ### 12k messages, 50 batch size, flatMap and BatchStatement change (+ 
concatMap for rename)
   
![image.png](https://images.zenhubusercontent.com/5f7fe3b8b67a756e7c63d181/e5b30183-760f-4e08-acfe-15e65f3d480a)
   
   ### 12k messages, 20000 batch size, flatMap and BatchStatement change (+ 
concatMap for rename)
   
![image.png](https://images.zenhubusercontent.com/5f7fe3b8b67a756e7c63d181/af258731-ac97-4d78-8512-e4a7a1428c2a)
   
   
   As we can see from the results, this PR effort leads to a significant boost 
in IMAP SELECT, STORE, COPY, and MOVE commands.
   
   A degradation on RENAME command (concatMap) =>  rollbacked to flatMap for 
RENAME (agreed above).
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to