php - Laravel - Run a method on multiple different processes


I have a method that is going to gather data from various APIs for many users. Right now, it does it onlysequentialy, one user after another. The actual traffic produced by those API calls is very low, so I wondered, how could I process, say,5 users at a time. Multiple processes of Laravel came to mind, but upon closer inspection it turned out, that Laravel doesn't seem to have faculties for that.

I found aSymphony component calledThe Process Component, that could do the job, probably.

My question is: has anyone done something similar? Is there a better solution than using that package? Thank you!

People are also looking for solutions to the problem: php - Conditional validation on Custom form request


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.