From 0c347938d17dd117feec97322509f9c70685b1e4 Mon Sep 17 00:00:00 2001 From: "Alexandre H.T.R. Bonfitto" Date: Fri, 9 Aug 2024 10:57:30 -0300 Subject: [PATCH] article: simplify http3 packets diagram --- src/posts/2024/03/http2-and-http3-explained.md | 10 +++++----- src/posts/2024/03/http2-e-http3-explicados.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/posts/2024/03/http2-and-http3-explained.md b/src/posts/2024/03/http2-and-http3-explained.md index 533b0be..c8e22ae 100644 --- a/src/posts/2024/03/http2-and-http3-explained.md +++ b/src/posts/2024/03/http2-and-http3-explained.md @@ -176,18 +176,18 @@ To solve TCP's head-of-line blocking, QUIC decided to use UDP for its transport ```mermaid sequenceDiagram rect rgb(255, 179, 217) - Client->>Server: req1: #9993;1/1
+
req2: #9993;1/1
+
req3: #9993;1/1 + Client->>Server: req1: #9993;1/1
+
req2: #9993;1/1 end rect rgb(179, 205, 230) - Server--xClient: res1: #9993;1/2
+
res2: #9993;1/2 + Server--xClient: res1: #9993;1/2 end Note over Client,Server: lost QUIC packet
doesn't block sending
other packets rect rgb(179, 205, 230) - Server-->>Client: res1: #9993;2/2
+
res2: #9993;2/2
+
res3: #9993;1/1 + Server-->>Client: res1: #9993;2/2
+
res2: #9993;1/1 end - Note over Client,Server: resending lost packet.
res3 wasn't delayed + Note over Client,Server: resending lost packet.
res2 wasn't delayed rect rgb(179, 205, 230) - Server-->>Client: res1: #9993;1/2
+
res2: #9993;1/2 + Server-->>Client: res1: #9993;1/2 end ``` diff --git a/src/posts/2024/03/http2-e-http3-explicados.md b/src/posts/2024/03/http2-e-http3-explicados.md index 768a562..ba1b187 100644 --- a/src/posts/2024/03/http2-e-http3-explicados.md +++ b/src/posts/2024/03/http2-e-http3-explicados.md @@ -176,18 +176,18 @@ Para resolver o bloqueio de cabeça de fila do TCP, o QUIC opta por utilizar o U ```mermaid sequenceDiagram rect rgb(255, 179, 217) - Cliente->>Servidor: req1: #9993;1/1
+
req2: #9993;1/1
+
req3: #9993;1/1 + Cliente->>Servidor: req1: #9993;1/1
+
req2: #9993;1/1 end rect rgb(179, 205, 230) - Servidor--xCliente: res1: #9993;1/2
+
res2: #9993;1/2 + Servidor--xCliente: res1: #9993;1/2 end Note over Cliente,Servidor: pacote QUIC perdido
não bloqueia outros pacotes rect rgb(179, 205, 230) - Servidor-->>Cliente: res1: #9993;2/2
+
res2: #9993;2/2
+
res3: #9993;1/1 + Servidor-->>Cliente: res1: #9993;2/2
+
res2: #9993;1/1 end - Note over Cliente,Servidor: reenvio do pacote perdido.
res3 não foi afetado + Note over Cliente,Servidor: reenvio do pacote perdido.
res2 não foi afetado rect rgb(179, 205, 230) - Servidor-->>Cliente: res1: #9993;1/2
+
res2: #9993;1/2 + Servidor-->>Cliente: res1: #9993;1/2 end ```