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

Key registration is slow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master
    • 3.6.0
    • eventbus, IMAPServer

    Description

      We noticed that on master SELECT IMAP command is significatively slow (several minutes) on top of the distributed profile. (See attached instrumentation average time and percentiles)

      A quick performance review links this to listener registration (by key).

      A code review leads to:

      • The low channel number (3) maybe this count can be safely raised to a higher number? Like 10? Maybe even configurable?
      • EventBus::Register operation is handling IO but is synchronous. The reactor scheduler backing it up is unspecifed (thus is likely the parrallel one). We should let the caller specify the scheduler he whishes to run.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: