F
F
Fixid2015-08-26 17:14:28
linux
Fixid, 2015-08-26 17:14:28

How to organize a message queue?

Good afternoon.
There are several php scripts that should add jobs for python scripts to a certain queue. The number of php and python scripts can be anything. Moreover, each python script must receive its own task, i.e. if there are two simultaneous calls, then the first script receives the oldest task, and the second one following it if it exists.
Are there any RabbitMQ analogs to implement such a task?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2015-08-26
@Fixid

RabbitMQ is just for such tasks.

D
Dimonchik, 2015-08-26
@dimonchik2013

here is simpler https://pypi.python.org/pypi/gearman
see also

R
Roman Kitaev, 2015-08-26
@deliro

Redis

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question