Pick a depth. Each prompt opens in your AI pre-loaded with the lesson. Click a row to preview the prompt.
TCP's TIME_WAIT will pin sockets for 60–120 seconds and silently exhaust ephemeral ports under load — a class of outage that looks like "the database is fine, but new connections fail." UDP gives you raw speed but no delivery guarantees, so anything built on it (DNS, QUIC, video) reinvents reliability at the app layer.
Inspect TCP connection states and ephemeral port pressure on a running cloud VM.
ab -n 200 -c 1 http://example.com/ then count TIME_WAIT sockets — explain why it spikes.net.ipv4.tcp_tw_reuse — flip it from 0 to 1 in a sandbox and document one risk of doing so in production.dig +stats — note the difference.# SSH to an EC2 instance, then inspect TCP states
ssh ec2-user@<public-ip>
# Connection state distribution
ss -tan | awk 'NR>1 {print $1}' | sort | uniq -c
# Count sockets stuck in TIME_WAIT
ss -tan state time-wait | wc -l
# Ephemeral port range (default 32768-60999 on Linux)
sysctl net.ipv4.ip_local_port_range
# Test UDP: send a DNS query without a connection
dig @1.1.1.1 +notcp example.com