Hey, I have Rest API server powered by Nginx and PHP-FPM. Each API call produces several CURL requests. The script that executes the API calls, also utilizes CURL. I use curl multi exec, with 1,000 threads. All the setup creates a little bit less than 10K sockets. Anyway, here is the problem... The script that executes the API calls, let's say 3,000 on 1K threads. It takes around 170 sby dantes - Nginx Mailing List - English
Hey, I have several PHP scripts that are time consuming, mainly because they approach to REST apis... The amount of time that each script consumes relies on the user input... On apache everything works fine, however on Nginx the connection just got closed. When the processing time is low, everything is fine. The problem comes on the long requests... There is no error in none of the logs.by dantes - How to...