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

Anton Roskvist commented on ARTEMIS-1925:
-----------------------------------------

You got it, no problem... I've got an environment running with some 3k msgs/s 
in just "forwards" as overhead due to the initial distribution that I'd like to 
get rid off, so let me know any way I can help.
  
As for the side note, no not STRICT-type either...
To follow the example above (3 broker cluster, one common queue, consumers 
connected to two brokers). With ON_DEMAND , if a producer sends to either of 
those brokers, then messages will get equally distributed between the brokers 
with consumers. (This has the overhead that every other message sent to a 
broker that has a local consumer will still get distributed to the other node)

I propose a solution where that is true for targeting the broker without 
consumers, but if sending to one of the brokers with a local consumer, then 
100% of the messages end up on just that broker.

redistribution can then forward messages internally if needed, like if a 
consumer disconnects.

The benefit to just OFF_WITH_REDISTRIBUTION would be less disk operations, 
since messages sent to the broker without consumers would not _need_ to 
redistribute them (because of initial distribution) but would be able to if the 
need should arise otherwise. Hope that made it more clear and not worse

Br,

Anton

> Allow message redistribution even with OFF message-load-balancing semantics
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1925
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1925
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Gary Tully
>            Priority: Major
>             Fix For: 2.19.0
>
>          Time Spent: 9h 50m
>  Remaining Estimate: 0h
>
> Currently if the {{message-load-balancing}} is {{STRICT}} or {{OFF}} then 
> message redistribution is disabled.  Message redistribution should be 
> controlled only by the {{redistribtion-delay}}.



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

Reply via email to