[jira] [Created] (JAMES-4110) Treat UID <-> MSN mapping as a cache

"Benoit Tellier (Jira)" <[email protected]>
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
Benoit Tellier created JAMES-4110:
-------------------------------------

             Summary: Treat UID <-> MSN mapping as a cache
                 Key: JAMES-4110
                 URL: https://issues.apache.org/jira/browse/JAMES-4110
             Project: James Server
          Issue Type: Improvement
          Components: IMAPServer
            Reporter: Benoit Tellier


This issue is to record a performance optimization discussed at FOSDEM 2025 with Mauro, the authoer of the Stallwart labs mail server.

He encountered similar difficulties regarding memory constraints of the UID <-> MSN mapping but approched it as a cache.

He would load upfront the mapping but ensures he only keeps a pool of most recent active mappings, reloading the mappings as needed.

If we identify that memory on IMAP connection is a constraint, and that il mostly suffers from IDLE connections then we could implement a similar approach.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.