There is a script, send requests using curl multi to the site in response when requests are made it sends the call back. (each request he sends separately, one response).
When there is a situation that comes of 30-35 call backов at the same time the script is run, makes a call to the database, and the proxy begins to execute curl request, of course he can hang for a long time because is done through a proxy.
I heard about the queue system
, but do not quite understand how it works and will it help in my situation.
If this is the queue system just defers query execution until execute previous queries, I'm afraid it won't fit me, because the life that gives me the website via the call back 2 minutes and I must make a request.
When you perform a lot of call backов (they run curl requests) while trying to appeal to the phpmyadmin page loaded minutes... however via filezila it works quickly, etc.
Below show how the load looks like:The question ultimately is: is it Possible to do something, or just not load a large number of requests not yet executed the old one? Not enough resources or what? Will it help in my case, the queue system?