[jira] [Created] (JAMES-4188) [PERF] Moving a bunch of emails trigger notif storm

"Benoit Tellier (Jira)" <[email protected]> Tue, 10 Mar 2026 05:53:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
Benoit Tellier created JAMES-4188:
-------------------------------------

             Summary: [PERF] Moving a bunch of emails trigger notif storm
                 Key: JAMES-4188
                 URL: https://issues.apache.org/jira/browse/JAMES-4188
             Project: James Server
          Issue Type: Improvement
          Components: JMAP
            Reporter: Benoit Tellier
            Assignee: Antoine Duprat


h3. Why ?

GIVEN bob moves 25 emails
WHEN he observes messages in JMAP websocket
THEN he sees 25 state changes

Failure to group messages results in excessive usage of the EventBus causing undue pressure of the RabbitMQ component, and over-uses James COUs.

h3. Root cause

Apparently this is due to the uid being non contiguous: it result in several distinct range updates and not just one that would bundle the events together..



--
This message was sent by Atlassian Jira
(v8.20.10#820010)