Best practice for variables shared between processes?

Léon Brocard acme at
Wed Sep 22 07:49:07 BST 2010

On 20 September 2010 17:43, Peter Edwards <peter at> wrote:
> On 20 September 2010 17:30, Roger Burton West <roger at> wrote:
>> I wish to have two processes, a "producer" (which will create files) and
>> a "consumer"

When hearing those two words you should automatically think...

> Use a queue?

... instead of writing yet more software. A couple are:

> ApacheMQ | RabbitMQ | Beanstalkd

And probably also Redis. I've used all of them and would probably
recommend Redis for something lightweight and RabbitMQ for something
heavyweight with clustering.

HTH, Leon.

More information about the mailing list