Tag: design-networking
All the articles with the tag "design-networking".
-
System Design - How a TCP Connection Opens and Closes
Follow one TCP connection from SYN to TIME-WAIT: sequence numbers, the three-way handshake, half-close, FIN versus RST, and why the active closer lingers.
-
System Design - How WebRTC Connects Two Peers
How WebRTC sets up a real-time connection: signaling, ICE candidates, STUN and TURN, and encrypted media transport.
-
System Design - How Content Delivery Networks (CDNs) Work
How Content Delivery Networks (CDNs) work: architecture, DNS-based routing, anycast, edge caching, cache hierarchies, TLS termination, cache invalidation strategies, and source code walkthrough from Varnish Cache.
-
System Design - How Service Meshes Work (Envoy & Istio)
How service meshes work: sidecar proxy architecture, Envoy's threading model, xDS dynamic configuration, Istio control plane, mTLS, traffic management, and observability — with ASCII diagrams and source code references.
-
System Design - How Kubernetes Networking Works
How Kubernetes networking works: the flat network model, pod-to-pod communication via CNI plugins, Service abstraction with kube-proxy iptables/IPVS, DNS resolution with CoreDNS, and how packets actually flow from one pod to another.
-
System Design - How Load Balancers Work
How load balancers work: L4 vs L7, algorithms (round-robin, least-connections, consistent hashing), health checks, connection draining, and source code walkthrough from HAProxy and Nginx.