universefeeler commented on a change in pull request #810: add Design:Load 
blancing en doc
URL: https://github.com/apache/rocketmq/pull/810#discussion_r259399527
 
 

 ##########
 File path: docs/en/7.Design:Load_blancing.md
 ##########
 @@ -0,0 +1,42 @@
+## Load Balancing
+Load balancing in RocketMQ is accomplished on Client side. Specifically, it 
can be divided into load balancing at Producer side when sending messages and 
load balancing at Constumer side when subscribing messages.
+
+### Producer Load Balancing
+When the Producer sends a message, it will first find the specified 
TopicPublishInfo according to Topic. After getting the routing information of 
TopicPublishInfo, the RocketMQ client will select a queue (MessageQueue) from 
the messageQueue List in TopicPublishInfo  to send the message by 
default.Specific fault-tolerant strategies are defined in the MQFaultStrategy 
class.
+Here is a sendLatencyFaultEnable switch variable, which, if turned on, filters 
out the Broker agent of not available on the basis of randomly gradually 
increasing modular arithmetic selection. The so-called "latencyFault Tolerance" 
refers to a certain period of time to avoid previous failures. For example, if 
the latency of the last request exceeds 550 Lms, it will evade 3000 Lms; if it 
exceeds 1000L, it will evade 60000 L; if it is closed, it will choose a queue 
(MessageQueue) to send messages by randomly gradually increasing modular 
arithmetic, and the latencyFault Tolerance mechanism is the key to achieve high 
availability of message sending.
+
+### Consumer Load Balancing
 
 Review comment:
   ok, added it, please review again

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to