add - channel flow control according to event size unit test and optimization