You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2022/04/26 17:42:00 UTC

[jira] [Created] (ARTEMIS-3805) Change default Bridge Producer Window Size to 1MB

Clebert Suconic created ARTEMIS-3805:
----------------------------------------

             Summary: Change default Bridge Producer Window Size to 1MB
                 Key: ARTEMIS-3805
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3805
             Project: ActiveMQ Artemis
          Issue Type: Improvement
            Reporter: Clebert Suconic
            Assignee: Clebert Suconic


The default producer value for a Bridge (clustered or not) is -1, meaning unlimited.

We had seen scenarios where the target and source runs out of memory when running on slow networking or disk.

I have looked into changing the implementation to back pressure the networking, however values are added into an Executor (through an Actor), and we the alternate back pressure would mean to add a new value to this executor, binding it towards the network.

Which is a whole circle round back to the same problem... managing credits.


instead of adding a new value, I will change the default value for Bridges which would have the same impact.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)