Skip to main content
added 147 characters in body
Source Link

Can it be that the worker starts processing the response from call 1 as soon as it arrives with the condition that it is after the call 3 was initiated while the worker waits? In current implementation or new feature implementation of PHP I mean. Something like this: enter image description here

Can it be that the worker starts processing the response from call 1 as soon as it arrives with the condition that it is after the call 3 was initiated while the worker waits? In current implementation or new feature implementation of PHP I mean. Something like this: enter image description here

added 147 characters in body
Source Link

This would be the current doable situation via the above: enter image description here

This would be the current doable situation via the above: enter image description here

added 15 characters in body
Source Link

For single threaded request/command situation the only situation where a time improvement could be possible is when a call is made to outside with some info (not with the whole scope) and a waiting time is needed. So maybe going on that path could be ana BETTER alternative to async (curl_multi_init, mysqli_poll, starting parallel new processes like laravel does with their concurrency, amphp/mysql package that already uses php fibers etc).

For single threaded request/command situation the only situation where a time improvement could be possible is when a call is made to outside with some info (not with the whole scope) and a waiting time is needed. So maybe going on that path could be an alternative (curl_multi_init, mysqli_poll, starting parallel new processes like laravel does with their concurrency etc).

For single threaded request/command situation the only situation where a time improvement could be possible is when a call is made to outside with some info (not with the whole scope) and a waiting time is needed. So maybe going on that path could be a BETTER alternative to async (curl_multi_init, mysqli_poll, starting parallel new processes like laravel does with their concurrency, amphp/mysql package that already uses php fibers etc).

added 407 characters in body
Source Link
Loading
edited body
Source Link
Loading
added 150 characters in body
Source Link
Loading
added 106 characters in body
Source Link
Loading
added 193 characters in body
Source Link
Loading
Source Link
Loading