Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> TCP Flow Control strategy VS Push/Pull

Copy link to this message
Re: TCP Flow Control strategy VS Push/Pull
It seems that your main question is why Kafka lets consumer pull, instead
of broker push? The main benefit that is that the consumer naturally gets
data as fast as it can process. If the broker pushes, it has to keep
estimating the appropriate rate that it can push to the consumer.



On Thu, Mar 14, 2013 at 3:20 AM, 王仁侠 <[EMAIL PROTECTED]> wrote:

> Hi,
> I am a beginner of Kafka and I have question about the design of Push/Pull
> model.
> I know the Push/Pull framework can avoid the blocking between the Broker
> and the Consumer.
> However, as I know, the TCP flow control strategy can also solve this
> problem, am I right? So why do not directly apply this techniques instead
> of using Pull?
> Or if I make any misunderstanding on those two techniques, please point me
> out.
> Thank you!
> Best regards,
> Renxia Wang