Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Head of the line blocking

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Head of the line blocking

The request-response pattern exacerbates the performance problem of HTTP, known as "head-of-line blocking" (Head-of-line blocking).

When one of the sequentially sent requests is blocked for some reason, all requests queued later are also blocked, resulting in a delay in receiving data from the client.

HTTP/1.1 cannot be solved completely, but it can be alleviated:

Method 1: connect concurrently and initiate multiple persistent connections to a domain name at the same time. The browser supports 6-8 connections.

But this approach also has its drawbacks. If each client wants to make a lot of connections on its own, the number of users × concurrency will be astronomical. The resources of the server simply cannot bear, or are considered to be malicious by the server, which will cause a "denial of service".

Method 2: domain name fragmentation. Multiple domain names point to the same server.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report