Merge request connection of Nginx learning to speed up website access
As one of the best web servers in the world, the advantages of Nginx are self-evident. Let’s talk about how Nginx merges request connections. tips When we browse the web, an important factor affecting the browsing speed is the number of concurrent browsers. The number of concurrency is simple and popular, that is, the number of simultaneous work when browsing the webpage. Of course, the browser’s limit on the number of concurrent requests is for the same domain name, and there is a certain limit for the number of requests under the same domain name at the same time, and requests exceeding the limit number will be blocked. First, let’s look at the number of concurrent connections of each browser: List the possible considerations of the browser’s decision Due to the limitation of the TCP protocol, only 65536 ports on the PC side can be used to send connections to the outside, and the operating system also has a limit on the number of half-open connections to protect the TCP\IP protocol stack resources of the operating system from being exhausted quickly, so the browser does not It is best to issue too many TCP connections, but to reuse the TCP…