Pros and Cons of Keep-Alive from the Web Server

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?

+3
source share
1 answer

, Keep-Alive HTTP, ( SSL- ). - , , . Keep-Alive , .

Keep-Alive , - . , (linux), ( Apache) 1:1 .

+5

Source: https://habr.com/ru/post/1758751/


All Articles