Hi, I think you have misunderstood. In fact, the weighted smooth polling algorithm is also suitable for scenarios where no weight is set.
Best wishes! CalvinKirs On 2020/07/19 03:13:10, "Yichao Yang" <[email protected]> wrote: > 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]>; > 发送时间: 2020年7月18日(星期六) 晚上10:12 > 收件人: "dev"<[email protected]>; > > 主题: 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 wishes! > CalvinKirs> > > On 2020/07/18 13:56:38, lidong dai <[email protected]> wrote: > > I have a little confused about adding a weight to what you said, like> > > assign tasks to machines in turn, there is normally no weights> > > > > > > > > Best Regards> > > ---------------> > > DolphinScheduler(Incubator) PPMC> > > Lidong Dai 代立冬> > > [email protected]> > > ---------------> > > > > > > CalvinKirs <[email protected]> 于2020年7月18日周六 下午5:55写道:> > > > > > Hi, everyone. I’m currently designing weight-based load balancing. My> > > > point of view is that all load balancing needs to be done based on > weights,> > > > because load actually means that machines with good performance are> > > > expected to handle more tasks. Therefore, weights should be Reflected > in> > > > each load balancing algorithm, it should be a default attribute in > load> > > > balancing.> > > >> > > > Hope to get your suggestions.> > > >> > > >> > > > Best wishes!> > > > CalvinKirs> > > >> > > >> > >
