Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1283

JamesMailSpooler should use different threadpools for dequeue and processing

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-M2
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: