You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/07/10 09:54:00 UTC

[jira] [Created] (JAMES-3306) Event Bus: about back-pressure

Benoit Tellier created JAMES-3306:
-------------------------------------

             Summary: Event Bus: about back-pressure
                 Key: JAMES-3306
                 URL: https://issues.apache.org/jira/browse/JAMES-3306
             Project: James Server
          Issue Type: New Feature
          Components: eventbus, mailbox, rabbitmq
    Affects Versions: master
            Reporter: Benoit Tellier


== Why

On UPN we prove thatwe were processing events too fast compared to the downstream ElasticSearch

In a perfect world, we should handle backpressure in order to adapt event consumption to the downstream components.

In the short term an admin should be able to define the paralelism expected for a given group, in order to reduce overhead.

== How

QOS is currently hard coded via the EventBus::EXECUTION_RATE variable. Allow to configure it in listeners.xml on a per listener basis.

== DOD

Enable to configure QOS on a per listener basis.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org