R
R
Ruslan722014-06-13 11:30:45
PHP
Ruslan72, 2014-06-13 11:30:45

PHP. Task queue. Schedule execution. On what to implement?

It will look something like this:
Service users will configure the message publishing schedule parameters:
1. Publish one record at a given time
2. Publish records every xx minutes
Next, select the days of the week, time and publication period.
After that, the system publishes something according to the schedule.
The question is how to organize it all, with what help (celery, mongoDB, RabbitMQ)?
I have never come across such a thing, and I want not to make a mistake with the choice.
It is assumed that there will be many users (1000+), each can set up dozens of schedules.
It may be necessary to use multiple servers to distribute the load.
The server part will be in php + mysql

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
tmvrus, 2014-06-28
@tmvrus

Beanstalkd is able to give out tasks from the queue on a schedule, there is persistence, a very simple interface. And repetitive tasks can be implemented in client code.

S
Sergey, 2014-06-13
Protko @Fesor

ActiveMQ supports deferred and scheduled tasks. For RabbitMQ, there was also something similar , but ...
If you need to scatter tasks across servers, perhaps the most convenient options.

P
Push Pull, 2014-06-13
@deadbyelpy

Gearman

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question