Networking, DNS & TLS
HTTP1 keep alive
Explain how HTTP/1.1 keeps connections open for reuse, and why a client idle limit longer than the server's causes reset errors after quiet periods, so you can check both timeouts.
What you will be able to do
- Explain how persistent connections and message framing allow reuse.
- Check whether client and server idle timeouts agree before changing either.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Networking, DNS & TLS
- TLS handshakeAdvanced · 5 min
Explain how a TLS 1.3 handshake sets up keys and checks the server's certificate, and use SNI and openssl s_client to find where a connection fails.
- Certificates and PKIAdvanced · 4 min
Explain how a certificate chain links a leaf certificate to a trusted root, and check a chain with openssl before a CA rotation goes live.
- HTTP2 multiplexingAdvanced · 4 min
Explain how HTTP/2 sends many streams over one TCP connection, and why one lost packet can stall all of them on a lossy link, so you can read stream limits and…
- HTTP3 and QUICAdvanced · 4 min
Explain how HTTP/3 carries HTTP over QUIC on UDP, and how a blocked UDP port causes a slow first load before the client falls back to TCP.
- Reverse proxy routingAdvanced · 4 min
Explain how nginx chooses a location block and what proxy_pass does to the path, so routes and upstream requests match what you intend and what each upstream receives.
- L4 versus L7 load balancingAdvanced · 4 min
Explain how layer 4 and layer 7 load balancers choose targets, why a network balancer cannot route by URL path, and when connection-level balancing spreads load unevenly.