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

"Benoit Tellier (Jira)" <[email protected]> Fri, 13 Mar 2026 21:29:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/JAMES-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-4188.
---------------------------------
    Resolution: Fixed

This was merged

> [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
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)