[Spread-users] producer/consumer queue via spread.

Nico Meyer nmeyer at virtualminds.de
Tue Mar 20 17:35:25 EDT 2007


Alternatively you could set the SELF_DISCARD flag when sending.

On Tuesday 20 March 2007 21:56:57 John Lane Schultz wrote:
> This should only happen if you're producer became a member of the group by
> SP_join()'ing to it.
>
> Spread allows you to send to a group without joining to it.
>
> Allan Bailey wrote:
> > I'm trying to develop a simple producer and consumer pair, and have run
> > into something I cannot find in the docs.
> >
> > My producer just spews messages to the group, and the consumer just reads
> > them.
> >
> > The problem:  the producer gets killed after a few thousand message if it
> > does not also read the messages.
> >
> > Can someone point me to the docs where this is explained?
> >
> > Or, does anyone have a good example of a producer/consumer queue?
> >
> > I'm using the spread python module for this development.
> >
> > thanks,
> > --
> > Allan
> >
> > _______________________________________________
> > Spread-users mailing list
> > Spread-users at lists.spread.org
> > http://lists.spread.org/mailman/listinfo/spread-users






More information about the Spread-users mailing list