TCP/HTTP Keepalive
Basic Concepts
-
ALB supports keepalive configuration at the port level. It can be configured on the frontend.
-
Keepalive is between the client and ALB, not between ALB and the backend.
-
It is implemented through the Nginx configuration, and Nginx needs and will automatically reload when the configuration is changed.
-
TCP keepalive and HTTP keepalive are two different concepts:
- TCP keepalive is a TCP protocol feature that sends periodic probe packets to check if the connection is still alive when there is no data transmission. It helps detect and clean up dead connections.
- HTTP keepalive (also known as persistent connections) allows multiple HTTP requests to reuse the same TCP connection, avoiding the overhead of establishing new connections. This improves performance by reducing latency and resource usage.
CRD
It can only be configured on the Frontend .spec.config.keepalive.
Trademark Notice
NGINX® is a registered trademark of F5, Inc. in the U.S. and in other countries.
Alauda is an independent vendor. This product is not affiliated with, endorsed by, or sponsored by F5, Inc. All trademarks are the property of their respective owners and are used here for identification purposes only.