[rabbitmq-discuss] Recommended python library for simple use?

Ben Hood 0x6e6562 at gmail.com
Fri Sep 4 00:02:27 BST 2009


On Thu, Sep 3, 2009 at 11:41 PM, Allen Fowler<allen.fowler at yahoo.com> wrote:
> 1) Is it hard to set up RabbitMQ for single machine use?

I wouldn't have thought so. There are packages for a variety of
penguins as well as windows. It's quite a straightforward process.

> 2) I see there are a few AMQP projects for python.  What should I use?

A lot of people on this list seem to prefer Barry's library for it's
simplicity but YMMV. Some people prefer txAMQP because they're running
stuff in a reactor.

> Each task unit is less than 1kb and I don't intend for the queue to be allowed to grow than ~200 task units long.  At that point, I have the task producer set to pause and wait until the queue goes down.

Without a back channel, how is the producer going to know about the queue depth?

> I do want to be able to flag certain tasks as "dependant", so that a certain task must be marked "done" before it's dependent can can run.

That sounds quite application specific. Certainly you could set up
routing rules to put different classes of task into different queues,
but that may be too coarse grained for what you need.



More information about the rabbitmq-discuss mailing list