First of all, I know about queues and now I have good experience working with queues. The problem with the queue is the queue. I want to execute several functions or commands together in the background. The queues store the second command or function in the queue and will be executed after the first execution!
For example, I have a table with ~ 3,000,000 records, and I want to process them faster. What I can do is split them into 5 equal pieces and execute 5 commands in total so that I can use my processor, as well as the process data, 5 times faster.
So how can I do this with Laravel? Queues are not going to work because they do things one by one. If your idea is to create several 5 queues and supervisors to execute, this is not the standard way to do this, I think.
Any idea what can be done in this case?
source
share