JamesMailSpooler should use different threadpools for dequeue and processing
----------------------------------------------------------------------------

                 Key: JAMES-1283
                 URL: https://issues.apache.org/jira/browse/JAMES-1283
             Project: JAMES Server
          Issue Type: Task
          Components: SpoolManager & Processors
    Affects Versions: 3.0-M2
            Reporter: Norman Maurer


At the moment we start X threads which concurrent consume mails from the 
MailQueue. So if you have for example have 100 threads and only one is needed 
you waste resources. We should better use X threads to dequeue and Y threads to 
process. So we could for example use 2 threads which dequeue and pass the mails 
to worker thread pool that does the mail processing. This should be more 
efficient

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to