Есть 2 версии клиента к серверу nginx https://gist.github.com/magisterRab/6b7132e0b9e88baa4b7e0e69a2ff0aab Эти 2 версии отличаются наличием или отсутствием строки 120 (writeRequest(fd);) в приведенном выше файле При этом, программа с отсутствующей строкой работby sv_91 - Nginx Mailing List - Russian
Here is a demo example https://gist.github.com/magisterRab/6b7132e0b9e88baa4b7e0e69a2ff0aab if in line 120 remove writeRequest(fd), then the speed of the test will fall 2 timesby sv_91 - Nginx Mailing List - English
There are 2 different versions of the program, using keep-alive First program, between the call to the connect operation and the write operation, there is a short amount of time Second program, write operation is called immediately after the connect operation. At the same time, the first program shows a rps of 2 times less than the second program. After tracing tcpdump, I can see that the servby sv_91 - Nginx Mailing List - English