[rabbitmq-discuss] chan.flow and vm_memory_high_watermark

Nicolás César nico at nicocesar.com
Tue Jun 8 21:04:48 BST 2010


2010/6/8 Matthew Sackman <matthew at rabbitmq.com>

> Hi Nicolás,
>
> On Tue, Jun 08, 2010 at 08:33:24AM -0300, Nicolás César wrote:
> (..)
> > What i'm doing wrong?
>
> When you hit the memory watermark, the *server* sends to *you* the
> channel.flow{active=false} which you're meant to acknowledge by sending
> back a channel.flow_ok{active=false}. However, depending on which python
> client you're using, this may not be implemented - I'm aware Tony's
> produced an experimental patch for pyamqplib, and I'm not sure about the
> status of flow control in Pika.
>


Thanks Matthew for the excelent response. You probably are talking about
this:
http://code.google.com/p/py-amqplib/issues/detail?id=19



> I think what you're doing is sending a channel.flow to the server which
> is telling the server whether or not to send message to you, not the
> other way around.
>

Thanks for the explanation. I'll see that patch and get my things going
smoothly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100608/813cad2b/attachment.htm>


More information about the rabbitmq-discuss mailing list