π Networking
Core β Advanced
- OSI vs TCP/IP model; what L4 and L7 mean (matters for load balancers)
- IP, subnets/CIDR, NAT, private ranges (needed for VPCs in AWS)
- TCP: 3-way handshake, flow control, congestion control, TIME_WAIT, Nagle, keep-alive
- UDP and when to use it; QUIC
- DNS resolution chain, TTLs, record types (A, AAAA, CNAME, SRV, TXT)
- HTTP/1.1 (keep-alive, head-of-line blocking) β HTTP/2 (multiplexing, HPACK) β HTTP/3 (QUIC)
- TLS 1.3 handshake, certificates, CA chain, mTLS, SNI
- Load balancing: L4 vs L7, algorithms (round robin, least-conn, consistent hashing), health checks
- CDNs, anycast, edge caching, cache headers (
Cache-Control,ETag) - WebSockets, SSE, long polling (Realtime (WebSockets, SSE))
- Proxies: forward vs reverse, connection pooling, timeouts (Envoy, Gateways & Service Mesh)
π§ͺ Labs (π’ warm-up β π‘ core β π΄ hard β β« boss)
- π’
dig +trace,curl -v --http2,curl -wtiming breakdown; explain every line - π‘ HTTP/1.1 server from raw TCP in Go (keep-alive, chunked encoding)
- π‘ Wireshark +
SSLKEYLOGFILE: decrypt TLS 1.3 and read HTTP/2 frames - π΄ An L7 load balancer in Go (codingchallenges.fyi): health checks, round robin, least-conn
- π΄ A DNS resolver in Go that walks from the root servers
- β« A TCP proxy with connection pooling; measure the latency win vs no pooling
π§ Cognitive tasks
- Blank-page: βwhat happens when you type a URLβ in 15 min at full depth
- Predict β verify: time saved per request by connection reuse from Mumbai to us-east-1
- First-principles: why does HTTP/2 still have head-of-line blocking?
π°οΈ Orbit integration
- SSE streaming through proxies (buffering, idle timeouts) for orbit-stream
- gRPC load balancing between orbit-api and the engine (why L4 fails)
Go deeper
βοΈ Network Stack Internals Β· Envoy Internals
Resources
- High Performance Browser Networking (Grigorik, free at hpbn.co): β best practical book
- Computer Networking: A Top-Down Approach (Kurose & Ross): reference
- Beejβs Guide to Network Programming
- Cloudflare Learning Center (free and excellent)
Interview questions interview-q
- What happens when you type
google.comand press Enter? (Go deep: DNS β TCP β TLS β HTTP β LB β server β render) - Why does HTTP/2 still suffer from head-of-line blocking at the TCP level?
- L4 vs L7 load balancer?