Hi,

I got your point.


I agree with your about the all algorithms you mentioned should be measured by 
weight. But I think we should keep the original algorithm which is not based on 
weight selection. and the algorithm based on weight should appear in a new 
algorithm.


In my opinion. Actually in our production environment, there are few 
differences in the performance of the machines as you mentioned. In most cases, 
the machine performance and configuration are consistent in our production 
environment.


So there are two scenarios for this weight based algorithm. The first one is 
the one you mentioned. The second may occur when a user wants to use half of 
the performance of machine A, rather than full use of machine A.


So is it better to keep the original algorithm and also provide those new 
selection algorithms based on weight?





Best,
Yichao Yang




------------------ ???????? ------------------
??????:                                                                         
                                               "dev"                            
                                                        
<[email protected]&gt;;
????????:&nbsp;2020??7??18??(??????) ????10:12
??????:&nbsp;"dev"<[email protected]&gt;;

????:&nbsp;Re: [DISCUSS]Load balancing weight



Let me give an example. It might be better. Suppose my computer A has twice
the processing power of computer B. Then I have three tasks. According to
the polling algorithm, A will handle two and B will handle one. Isn't our
purpose of load balancing to make each machine work evenly?

Best&nbsp; wishes??
&nbsp;CalvinKirs&gt;

On 2020/07/18 13:56:38, lidong dai <[email protected]&gt; wrote:
&gt; I have a little confused about adding a weight to what you said, like&gt;
&gt; assign tasks to machines in turn, there is normally no weights&gt;
&gt;
&gt;
&gt;
&gt; Best Regards&gt;
&gt; ---------------&gt;
&gt; DolphinScheduler(Incubator) PPMC&gt;
&gt; Lidong Dai ??????&gt;
&gt; [email protected]&gt;
&gt; ---------------&gt;
&gt;
&gt;
&gt; CalvinKirs <[email protected]&gt; ??2020??7??18?????? ????5:55??????&gt;
&gt;
&gt; &gt; Hi, everyone. I??m currently designing weight-based load balancing. 
My&gt;
&gt; &gt; point of view is that all load balancing needs to be done based on
weights,&gt;
&gt; &gt; because load actually means that machines with good performance 
are&gt;
&gt; &gt; expected to handle more tasks. Therefore, weights should be Reflected
in&gt;
&gt; &gt; each load balancing algorithm, it should be a default attribute in
load&gt;
&gt; &gt; balancing.&gt;
&gt; &gt;&gt;
&gt; &gt; Hope to get your suggestions.&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt; Best&nbsp; wishes??&gt;
&gt; &gt; CalvinKirs&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt;

Reply via email to