bigonotes
System DesignNetworking Essentials

Networking Essentials

Protocols, load balancing, latency and the network stack.

9 notes · 51 min total

  1. 1Networking FundamentalsThe OSI layers that matter to you (3, 4 and 7), and what really happens on the wire when a browser loads a page.4 min
  2. 2Protocols: Layer 4 and Layer 7AudioA decision guide for picking transport (TCP or UDP) and application protocols (REST, gRPC, GraphQL, SSE, WebSockets), with worked scenarios.6 min
  3. 3Application Layer ProtocolsHow HTTP works, and when to use REST, GraphQL, gRPC, Server-Sent Events or WebSockets for your APIs.9 min
  4. 4Load BalancingVertical vs horizontal scaling, client-side vs dedicated load balancers, L4 vs L7, health checks, algorithms and scaling WebSockets.12 min
  5. 5Regionalization and LatencyAudioCutting latency with regions, CDNs and regional partitioning, and surviving failures with retries, idempotency keys and circuit breakers.7 min
  6. 6Network Layer ProtocolsHow IP addresses and routers move packets between networks, public vs private IPs, and why it shapes where you put servers.3 min
  7. 7Transport Layer ProtocolsTCP vs UDP: what each guarantees, what it costs, when to pick UDP, and how to work around browsers not allowing raw UDP.3 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.4 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