1

I have a multi-processed perl system that picks up a lot of files ( may be in 10 Millions ) and works on the them one by one

Since each process must pick up exclusive files I need to have one seperate process that does the file-listing and sends the filenames to a message queue

Each worker-process will query the message-queue , get 10 jobs at a time and execute the 10 jobs until the message-queue is empty

What is the best way of implementing a message queue

1

2 Answers 2

1

You could give Queue::Beanstalk a try.

Sign up to request clarification or add additional context in comments.

Comments

1

I'd vote for Net::RabbitMQ and rabbitmq

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.