K
K
king5552014-01-31 14:12:22
PHP
king555, 2014-01-31 14:12:22

Which queue manager to choose?

Help me choose a queue manager (Gearman\Beanstalk\RabbitMq\....)
I tried Geaman\Beanstalk. Not suitable for a number of reasons
Usage language: php
Load: low (up to 1000 tasks\hour)
Required functions:
selective deletion of tasks.
Viewing the status of the entire queue, (beanstalk did not fit)
the possibility of deferred task execution, the ability to pause the task (gearman did not fit)
Merging identical tasks (to be performed only 1 time)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sardar, 2014-01-31
@Sardar

RabbitMQ will suit you. Although "the ability to pause a task" is not a requirement for the message manager, like "Merge identical tasks". To fulfill the first condition, you can use any configurator in the task logic, the same ZooKeeper . The point is to check the config and notifications, if the option "pause task X" is set, then everyone unsubscribes from the queue. The second is solved in the logic of the task - to do all the work on the first notification, ignoring all the others.

S
Sergey, 2014-01-31
@begemot_sun

> low (up to 1000 tasks/hour)
cron + database will suit you.

J
Jemeron, 2014-11-02
@Jemeron

You can also glue tasks using Gearman, setting unique_id for tasks manually. For example, to form it based on the transmitted workload (task parameters).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question