+1 to drop the non credit-based flow control. We have turned to credit-based flow control for long in production. It has been good for all our cases. The non credit-based flow control code has been a burden when we are trying to change the network stack code for new features.
Thanks, Zhu Zhu Biao Liu <mmyy1...@gmail.com> 于2019年10月10日周四 下午5:45写道: > Thanks for start this survey, Piotr. > > We have benefitted from credit-based flow control a lot. I can't figure out > a reason to use non credit-based model. > I think we have kept the older code paths long enough (1.5 -> 1.9). That's > a big burden to maintain. Especially there are a lot duplicated codes > between credit-based and non credit-based model. > > So +1 to do the cleanup. > > Thanks, > Biao /'bɪ.aʊ/ > > > > On Thu, 10 Oct 2019 at 11:15, zhijiang <wangzhijiang...@aliyun.com > .invalid> > wrote: > > > Thanks for bringing this survey Piotr. > > > > Actually I was also trying to dropping the non credit-based code path > from > > release-1.9, and now I think it is the proper time to do it motivated by > > [3]. > > The credit-based mode is as default from Flink 1.5 and it has been > > verified to be stable and reliable in many versions. In Alibaba we are > > always using the default credit-based mode in all products. > > It can reduce much overhead of maintaining non credit-based code path, so > > +1 from my side to drop it. > > > > Best, > > Zhijiang > > ------------------------------------------------------------------ > > From:Piotr Nowojski <pi...@ververica.com> > > Send Time:2019年10月2日(星期三) 17:01 > > To:dev <dev@flink.apache.org> > > Subject:[SURVEY] Dropping non Credit-based Flow Control > > > > Hi, > > > > In Flink 1.5 we have introduced Credit-based Flow Control [1] in the > > network stack. Back then we were aware about potential downsides of it > [2] > > and we decided to keep the old model in the code base ( configurable by > > setting `taskmanager.network.credit-model: false` ). Now, that we are > > about to modify internals of the network stack again [3], it might be a > > good time to clean up the code and remove the older code paths. > > > > Is anyone still using the non default non Credit-based model ( > > `taskmanager.network.credit-model: false`)? If so, why? > > > > Piotrek > > > > [1] https://flink.apache.org/2019/06/05/flink-network-stack.html < > > https://flink.apache.org/2019/06/05/flink-network-stack.html> > > [2] > > > https://flink.apache.org/2019/06/05/flink-network-stack.html#what-do-we-gain-where-is-the-catch > > < > > > https://flink.apache.org/2019/06/05/flink-network-stack.html#what-do-we-gain-where-is-the-catch > > > > > [3] > > > https://lists.apache.org/thread.html/a2b58b7b2b24b9bd4814b2aa51d2fc44b08a919eddbb5b1256be5b6a@%3Cdev.flink.apache.org%3E > > < > > > https://lists.apache.org/thread.html/a2b58b7b2b24b9bd4814b2aa51d2fc44b08a919eddbb5b1256be5b6a@%3Cdev.flink.apache.org%3E > > > > > > > >