C
C
Cerebrumlab2018-12-13 10:53:41
RabbitMQ
Cerebrumlab, 2018-12-13 10:53:41

Can this be done with Rabbitmq?

Good afternoon ! It is required to solve the problem. Records are taken from the database and processed. 1 record is processed for about 1 second by 1 script. several million records need to be processed. C Rabbitmq did not work before, tell me if it is possible to do this with it:
Rabbitmq receives a list of records, then n copies of the handler script access it, and rabbit issues an entry and removes it from the list of tasks, when the next copy of the script is accessed, it already receives another entry for processing. If not, what would you advise for a similar purpose (it is desirable that it works with php or nodejs)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vman, 2018-12-13
@vman

rabbitmq get list of records

On his own, he gets nothing.
this is exactly how it will be, still explore the moment of confirmation of receipt of the record (aka acknowledge)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question