%% crude form of load-balancing. TODO it would also be nice to
%% randomise the list of ones to remove when we have too many - we
%% would have to take account of synchronisation though.
But we're Java programmers and it's hard for us to understand the entire algorithm written in Erlang :)
It depends. Maybe it's reasonable to have dedicated parameter which will describe strategy of mirror choosing (the old one or suggested by us). Maybe suggested solution should become a default behavior for choosing a mirror because it's obviously utilize nodes returned to cluster in a better way.Another point that should be considered here, is it possible to promote masters to other nodes in a live mode to ensure fair distribution of load? That makes sense because queue-master-locator strategy works only at the moment of queue creation but is not supported continuously.
--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/aK6iJBwJjNM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is already such parameter, which is `ha-mode`. It can be extended by implementing `rabbit_mirror_queue_mode` modules, so even a plugin can do so.
I cannot see any point in migrating masters when some nodes are restarting. Masters and slaves have relatively same load so moving masters around wouldn't help with load balancing more then moving slaves.
On 26 August 2016 at 14:27, Alexey Voytekhovskiy <syh...@gmail.com> wrote:
It depends. Maybe it's reasonable to have dedicated parameter which will describe strategy of mirror choosing (the old one or suggested by us). Maybe suggested solution should become a default behavior for choosing a mirror because it's obviously utilize nodes returned to cluster in a better way.Another point that should be considered here, is it possible to promote masters to other nodes in a live mode to ensure fair distribution of load? That makes sense because queue-master-locator strategy works only at the moment of queue creation but is not supported continuously.
--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/aK6iJBwJjNM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
I am actually lobbying for rebalancing based on available resources like disk space or pub/get rates. What's the point of having all busy queues on one master and all idle of the same quantity on another?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.