Jobs and queues. You can have many queue workers processing things in parallel.
May 20, 2018
2
Level 1
How to implement Asynchronous or parallel call of API related task?
Hi, I have an external library implemented with synchronous curl call. But to fill my database regularly,i need to call around 40 API endpoints per hour with each being called around 100 times with different parameters. To reduce result time i would like to achieve asynchronous call on each endpoint but i dont want to modify this external library httpcall. What is the best way to call asynchronously different instances of this library?Is this the proper way to follow? I was trying with pthread or ampPhp but i am not even sure it can be used properly with Laravel (and how?)
Level 67
Please or to participate in this conversation.