[ 
https://issues.apache.org/jira/browse/CAMEL-14425?focusedWorklogId=376889&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376889
 ]

ASF GitHub Bot logged work on CAMEL-14425:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jan/20 16:08
            Start Date: 24/Jan/20 16:08
    Worklog Time Spent: 10m 
      Work Description: davsclaus commented on pull request #3508: CAMEL-14425: 
Polling Optimization: Consider number of maximum message…
URL: https://github.com/apache/camel/pull/3508
 
 
   
 
----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 376889)
    Time Spent: 40m  (was: 0.5h)

> Mail Consumer Performance Optimization
> --------------------------------------
>
>                 Key: CAMEL-14425
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14425
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mail
>            Reporter: Manuel Shenavai
>            Priority: Major
>             Fix For: 3.1.0
>
>         Attachments: performance.PNG
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hi,
> we use the camel mail component and noticed a performance issue if we poll a 
> mailbox with a lot of messages (30.000+), though we set a small value for 
> maxMessagesPerPoll and FetchSize. I found that all available messages are 
> looped through multiple times.
> In a test I measured the number of messages processed in 5 seconds for 
> different amount of available messages in the inbox before and after 
> optimizing the code. MaxMessagePerPoll is set to 3.
> I attach a picture with the results of the measurement.
> https://github.com/mash-sap/camel/commit/1a92bf9da8f06541a926e5f9c78947c2e62ef7f2
>  
> This problem affects not a specific version.
> Best regards,
> Manuel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to