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
-
Gearman, TheSchwartz, Qudodaxim– daxim2011年08月29日 08:25:05 +00:00Commented Aug 29, 2011 at 8:25
2 Answers 2
You could give Queue::Beanstalk a try.
Sign up to request clarification or add additional context in comments.
Comments
I'd vote for Net::RabbitMQ and rabbitmq
Comments
lang-perl