bigonotes
System DesignNetworking

Networking

Protocols, DNS, load balancing, latency and the network stack.

10 notes · 78 min total

  1. 1Networking FundamentalsThe OSI layers that matter to you (3, 4 and 7), and what happens on the wire when a browser loads a page.5 min
  2. 2Protocols: Layer 4 and Layer 7A decision guide for picking transport (TCP or UDP) and application protocols (REST, gRPC, GraphQL, SSE, WebSockets), with worked scenarios.6 min
  3. 3Web and Real-Time ProtocolsHow HTTP works, and when to use REST, GraphQL, gRPC, Server-Sent Events or WebSockets for your APIs.9 min
  4. 4Load BalancingScaling up vs out, client-side vs dedicated balancers, L4 vs L7, health checks, algorithms, WebSockets and operational gotchas.15 min
  5. 5Multi-Region Latency and FailuresCutting latency with regions, CDNs and regional partitioning, and surviving failures with retries, idempotency keys and circuit breakers.11 min
  6. 6IP Addressing and RoutingHow IP addressing, CIDR subnets, NAT, IPv6, ICMP and routing move packets between networks, and why it shapes where servers go.9 min
  7. 7TCP and UDPTCP vs UDP: what each guarantees, what it costs, when to pick UDP, and how to work around browsers not allowing raw UDP.4 min
  8. 8Latency vs ThroughputThe difference between latency and throughput, how to improve each, ballpark latency targets by system type, and SLA vs SLO vs SLI.5 min
  9. 9SSL/TLS Termination, Passthrough and BridgingThree ways a load balancer can handle encrypted traffic, and how each trades routing smarts, CPU cost and end-to-end security.3 min
  10. 10DNS: How Name Resolution WorksHow DNS turns names into IP addresses: the namespace, zones, record types, TTLs and the steps of a lookup.11 min