Add gRPC Keepalive Youtube video link (#1370)

This commit is contained in:
Xuan Wang 2024-10-09 10:22:18 -07:00 committed by GitHub
parent 469d346e5c
commit 79b65fd0b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ HTTP/2 PING-based keepalives are a way to keep an HTTP/2 connection alive even w
There is a related but separate concern called [Health Checking]. Health checking allows a server to signal whether a *service* is healthy while keepalive is only about the *connection*.
{{% /alert %}}
{{< youtube id="yPNHn6lXndo" class="youtube-video" title="gRPC Keepalive" >}}
### Background
[TCP keepalive] is a well-known method of maintaining connections and detecting broken connections. When TCP keepalive was enabled, either side of the connection can send redundant packets. Once ACKed by the other side, the connection will be considered as good. If no ACK is received after repeated attempts, the connection is deemed broken.