The Keep-Alive connection function in the HTTP protocol is designed to reduce the removal of TCP connections to the web server. It should be able to improve web server performance. However, I found that some web servers intentionally disable the KeepAlive function on the server side.
In my understanding, some kind of reverse proxy server, i.e. HAProxy disables HTTP support to reduce memory usage, which is more critical than CPU usage in some situations.
Is there any other reason why the web server disables Keep-Alive?
, Keep-Alive HTTP, ( SSL- ). - , , . Keep-Alive , .
Keep-Alive
Keep-Alive , - . , (linux), ( Apache) 1:1 .
Source: https://habr.com/ru/post/1758751/More articles:Large image UIImage - memory problem - failure - memory-managementHow to create overloaded operators for forcing pointers in C ++? - c ++How can I automate the placement of heading text (copyright notice, etc.) in C # files? - c #Implementation guidelines for creating an expression that was later used to evaluate the contents of a map in C ++? - c ++Make Java program exit if statement fails - javaSQL Server: How can table scans be so expensive on a tiny table? - performance5 year application development - c #Внутренняя ошибка компилятора при компиляции собственного кода Android - gccКак сделать хэш первым N байтов файла? - c#How to make the keyboard disappear? - iphoneAll Articles