728x90
http/2 vs http1
1. HTTP/2 is a binary protocol where HTTP 1.x is textual.
2. HTTP/2 is multiplexed to tackle a known limitation in networking known as head-of-line blocking (HOL Blocking).
3. HTTP/2 uses header compression to reduce overhead.
4. HTTP/2 Server Push allows servers to proactively send responses into client caches.
http/2 vs http1 - network speed
HTTP/2 vs WebSocket
|
WebSocket | |
Headers(헤더) | Compressed (HPACK) | None |
Binary(바이너리) | Yes | Binary or Textual |
Multiplexing(멀티플렉싱) | Yes | Yes |
Prioritization | Yes | No |
Compression(압축) | Yes | Yes |
Direction(방향) | Client/Server + Server Push | Bidirectional |
Full-duplex | Yes | Yes |
Will WebSocket survive HTTP/2? (infoq.com)
728x90
'기타' 카테고리의 다른 글
도커 가상화 - virtualbox와 차이 (0) | 2022.06.05 |
---|---|
웹 브라우저에 URL 입력하면 일어나는 일 (0) | 2022.06.05 |
blocking vs non-blocking, sync vs async (0) | 2021.11.11 |
트랜잭션 문제 & 해결 + 용어 (0) | 2021.11.11 |
Websocket vs stomp (0) | 2021.07.03 |
댓글