Comments (1)
有关于 HTTP/2.0 多路复用
在 HTTP/1.1 中,如果要并发多个请求,需要开多个 TCP 连接,每个 TCP 连接中同一时刻只能处理一个请求。
而使用管线化技术,虽然可以同时发送多个请求,但响应的顺序需要与请求发送的顺序一致,而有队头阻塞问题(HTTP)。
HTTP/2.0 的多路复用,就能解决上述 HTTP 队头阻塞问题。 HTTP/2.0 传输的数据是二进制帧,每个 TCP 连接都承载着双向流通的流,每一个流都有一个独一无二的标识和优先级,而流就是由二进制帧组成的。二进制帧的头部信息会标识自己属于哪一个流,所以这些帧可以交错传输。
但是 HTTP/2.0 无法解决 TCP 的队头阻塞问题。
参考
from note.
Related Issues (20)
- Webpack 打包结果分析 HOT 2
- 跨域
- 函数柯里化 HOT 1
- Webpack 中 Loaders 与 Plugins 的区别
- 浏览器缓存机制
- HTTP 基础知识 HOT 1
- HTTPS 工作原理 HOT 2
- XSS 与 CSRF
- JavaScript 网络请求的几种方式
- 判断两条线段是否相交
- Webpack 从读取配置文件到生成打包产物经历了哪些过程
- MySQL 判断 JSON 中的值为空
- JWT 概念
- NestJS 修改 POST 请求 body 大小限制 HOT 1
- NestJS 限流代码分析
- NestJS 中如何配置正向代理
- MySQL 分页查询出现数据重复的问题及修复
- PromQL rate range 15s 无数据问题
- transition height 从 0 到 auto 无效应对方法
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from note.