Learn to debug production networks like an SRE: TCP states and queues, DNS, TLS, HTTP versions, Kubernetes service paths, and load balancer behaviour.
When nothing was deployed and the service is still failing, the network is the first suspect, and the skill is proving which part of it.
A TCP connection is more than open or closed, and the two states that cause the most real outages are TIME_WAIT and CLOSE_WAIT.
TIME_WAIT and CLOSE_WAIT describe the end of a connection; this topic covers its birth, where a full queue makes clients hang with no error on the...
DNS rarely fails outright; it fails for some users, some of the time, usually when traffic spikes.
HTTPS failing is a common emergency, and it takes minutes to diagnose once you know which step of the handshake broke.
Each HTTP version fixed the last one's biggest bottleneck and moved the problem somewhere new, which changes how you read a "slow request" report.
When nothing was deployed and the service is still failing, the network is the first suspect, and the skill is proving...
A TCP connection is more than open or closed, and the two states that cause the most real outages are TIME_WAIT and...
TIME_WAIT and CLOSE_WAIT describe the end of a connection; this topic covers its birth, where a full queue makes...
DNS rarely fails outright; it fails for some users, some of the time, usually when traffic spikes.
HTTPS failing is a common emergency, and it takes minutes to diagnose once you know which step of the handshake broke.
Each HTTP version fixed the last one's biggest bottleneck and moved the problem somewhere new, which changes how you...
Most "connection timed out" incidents are a firewall rule that drops packets without telling anyone.
Inside a cluster every host-to-host call is a chain of virtual interfaces and kernel rules, and most "pod cannot reach...
Standard probes cannot see inside gRPC, which is why gRPC deployments so often flap in and out of rotation or stay...
Every algorithm has a traffic shape where it makes latency worse, and picking the wrong one is a quiet cause of one...
Four tools answer almost every network question: ss for sockets, tcpdump for packets, curl for end-to-end timing, and...
📌 Remember: This lab is free. Part A runs on sre-vm, a local Ubuntu 24.04 virtual machine, so nothing touches your...
Using tcp_tw_recycle to fix TIME_WAIT. Old tutorials still recommend it because it sounds like exactly the cure.
Roles that use the skills in this module.
Site Reliability Engineer
DevOps Engineer
Platform Engineer
Cloud Engineer
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding SheetTIME_WAIT appears on the side that closed the connection first and is normal; it only hurts when thousands of short connections use up your ports. CLOSE_WAIT appears on the side that received the close and is waiting for its own application to call close(). A growing CLOSE_WAIT count is almost always a bug in that application.
When the accept queue is full, the kernel quietly ignores new connection attempts instead of refusing them. The client waits and times out, and the server's logs show nothing. You find it by comparing Recv-Q and Send-Q in ss for the listening socket.
Pods default to ndots:5, so a name such as example.com is tried against several cluster search domains before the real lookup. That multiplies queries and adds latency, especially when CoreDNS is CPU-throttled. Using a trailing dot, lowering ndots, or running NodeLocal DNSCache reduces it.
A TCP probe only proves the port accepts connections, and gRPC health lives inside an RPC response. A server with an exhausted database pool still accepts connections. Use the gRPC health checking protocol with Kubernetes' native gRPC probe.