Understanding HTTP Long Connections in Nginx

Understanding HTTP Long Connections in Nginx

In Nginx, the HTTP module uses configurations related to HTTP long connections (mainly the keepalive directive) and explains the principles of HTTP long connections. 1. HTTP Long Connections 1.1 Prerequisites Connection management is a key topic in HTTP: opening and maintaining connections greatly affects the performance of websites and web applications. In HTTP/1.x, there are … Read more

Key Factors Affecting HTTP Performance

Key Factors Affecting HTTP Performance

The discussion of HTTP performance here is based on the simplest model, which is the HTTP performance of a single server. Of course, this also applies to large-scale load-balanced clusters, as such clusters are composed of multiple individual HTTP servers. Additionally, we exclude scenarios where the client or server itself is under heavy load or … Read more