zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sznajder ForMailingList <bs4mailingl...@gmail.com>
Subject Re: Multiple consumers on a distributed queue
Date Sun, 24 Nov 2013 18:40:18 GMT
Hi,

Sorry, I missed your message and I realize, I put a very similar question
today.

I put message to the queue, when the consumer monitors and finds that queue
reached 1/2 of its size (I monitor that every second)

I attach here the simple code, I used for testing the behavior.
Thanks for your help




On Mon, Nov 18, 2013 at 7:45 PM, kishore g <g.kishore@gmail.com> wrote:

> What is the rate at which you are adding messages to queue?
>
>
>
> On Sun, Nov 17, 2013 at 6:48 AM, Sznajder ForMailingList <
> bs4mailinglist@gmail.com> wrote:
>
> > Hi
> >
> > I used the implementation of Curator for the distributed queue recipe of
> > Zookeeper.
> >
> > However, if see some strange behavior:
> >
> > * The throughput of the consumption of the items drastically decreases
> when
> > I enhance the number of consumers?
> >
> > * When I launch several consumers on several servers ( of a same
> Zookeeper
> > chorum, of course), I see that some of the consumers are in an idle state
> > most of the time, instead of consuming items....
> >
> > Is it a known behavior? Can we solve this? In the meanwhile, it reduces
> the
> > motivation to use a distributed queue!! ...
> >
> > Many thanks for your help!
> >
> > Regards
> > Benjamin
> >
>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message