Welcome Guest, Not a member yet? Register   Sign In
blocking vs async using guzzle
#2

https://www.youtube.com/watch?v=OEMuHy5Srk8

Here's video of Rasmus explaining how multi-threading works on PHP.

For what I understand from your description, sync or async wouldn't make much difference, because your PHP process on server is running throughout all the subcalls to AWS API.

If you are worried that this once back-end call will take too much resource away from your normal visitors, you should move it to second server instance that does the heavy duty tasks and keep the first server to only handle front end web requests.
Reply


Messages In This Thread
blocking vs async using guzzle - by richb201 - 08-10-2018, 01:34 AM
RE: blocking vs async using guzzle - by Pertti - 08-10-2018, 02:14 AM
RE: blocking vs async using guzzle - by richb201 - 08-10-2018, 06:48 AM
RE: blocking vs async using guzzle - by php_rocs - 08-10-2018, 08:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB