You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/07/16 20:21:00 UTC

[jira] [Commented] (AMQ-1932) Weak scalability in network of brokers (subsrciption shows quadratic order)

    [ https://issues.apache.org/jira/browse/AMQ-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17382319#comment-17382319 ] 

Matt Pavlovich commented on AMQ-1932:
-------------------------------------

Current versions of ActiveMQ support various combinations of ConsumerTTL, conduitSubscriptions and excludedDestinations that should resolve this issue. 

This issue is quite dated and is marked for close, unless there are further updates.

> Weak scalability in network of brokers (subsrciption shows quadratic order)
> ---------------------------------------------------------------------------
>
>                 Key: AMQ-1932
>                 URL: https://issues.apache.org/jira/browse/AMQ-1932
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.1.0
>         Environment: Linux 2.6.25, Java 1.6.0._07
>            Reporter: Martin Cornelius
>            Priority: Major
>              Labels: close-pending
>             Fix For: NEEDS_REVIEW
>
>
> In a network of brokers, any subscription to a topic causes a network load that is related to the number of brokers with quadratic order.
> On subscription to a topic, the broker where the subscription is done sends a control-message to all other brokers. Every broker reacts on this control-message by sending another control-message to all other brokers. The same happens on every unsubscribing from a topic. This implies, that the network load caused by a (un)subscription is governed by the term N*N, what kills scalability.
> Interestingly, when subscribing to a queue, (as opposed to a topic) this 'evil' behaviour is observed only on the very first subscription to the queue.(i suppose when the queue is 'unknown' to the brokers)  All subsequent subscriptions to a queue that has been subscribed to before by any client show only linear order, means: The broker where the subscription is made sends a control-message to all other brokers, but this does NOT trigger subsequent messages. Also, unsubscription from a topic always behaves the latter way.



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