Tag: #tcp
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 8 posts
Seeing TCP Congestion Control — CUBIC, BBRv3, and a gVisor Netstack Running in Your Browser
On July 28, 2026, "Simulating TCP loss and congestion in browser using Go/WASM" went up on Hacker News. It builds two entire copies of the gVisor netstack to WebAssembly, runs them in browser workers, and puts a bottlene
2026-07-31 · 16 min read #network#tcp#congestion-control#bbr#wasmHTTP Keep-Alive and connection reuse — the timeout race condition behind intermittent 502s
When the backend logs contain no errors at all and only the load balancer intermittently mixes in 502s, it is usually a connection reuse race condition. At the exact moment the server closes an idle connection, the clien
2026-07-26 · 15 min read #network#http#performance#load-balancer#tcpConnection refused vs. timeout — narrowing the cause at the TCP level
When a connection fails, the terminal hands back one of two messages. Connection refused means the peer returned an RST; timeout means nothing at all answered the SYN you sent. That one-line difference almost entirely de
2026-07-26 · 12 min read #network#tcp#troubleshooting#linux#kubernetesping works but only large requests hang — dissecting MTU, MSS and the PMTUD blackhole
When small requests go through fine but only large responses stall halfway, it is almost always a path MTU problem. TCP advertises MSS based on the interface MTU, and when a narrower segment sits somewhere along the path
2026-07-26 · 14 min read #network#mtu#tcp#vpn#kubernetesExposing TCP/UDP Services with Ingress — The Limits of L4 and How to Work Around Them
Ingress is fundamentally an L7 (HTTP) abstraction. Yet when you must expose TCP/UDP services like databases, game servers, or DNS, this post shows how to use the ingress-nginx ConfigMap, Traefik EntryPoints, TLS passthro
2026-06-14 · 8 min read #ingress#kubernetes#tcp#udp#networkingA Packet Journey — Tracing the Linux Kernel Networking Stack
We dissect the full path a packet takes from the NIC through DMA, ring buffers, NAPI, and the IP/TCP layers to the application socket. Covers RSS/RPS/RFS multi-core scaling, GRO/GSO/TSO offloads, XDP, socket buffer tunin
2026-06-13 · 19 min read #linux#kernel#networking#tcp#xdpTCP Network Stack Deep Dive — State Machine, Congestion Control (Cubic vs BBR), Nagle, Delayed ACK, and the Evolution to QUIC (2025)
A TCP connection traverses 11 states from open to close. Why does TIMEWAIT linger for 30 seconds? Why does Nagle meeting Delayed ACK produce a 40ms stall? Why does BBR beat Cubic, and why did Google abandon TCP for QUIC?
2026-04-15 · 9 min read #tcp#networking#congestion-control#bbr#cubicThe Complete Guide to TCP/IP Connection Debugging in Production
A practical guide covering TCP 3-way handshake, connection state analysis, SYN flood defense, packet capture with tcpdump/Wireshark, kernel tuning parameters, and real-world debugging scenarios.
2026-03-08 · 15 min read #networking#tcp#ip#troubleshooting#devops