Part 3 of 18
Networking & Communication
8 pages · 8 written
- 1.Networking FundamentalsBasic
The networking basics every design relies on: OSI and TCP/IP layers, IP addresses, ports, NAT, anycast, LAN vs WAN, checksums, bandwidth and RTT.
- 2.TCP vs UDP (and QUIC)Basic
How TCP gives reliable ordered streams, how UDP trades that for speed, how QUIC combines both, and why connection reuse and pooling matter.
- 3.HTTP, HTTP/2, HTTP/3 and HTTPSIntermediate
The HTTP request/response model, methods and status codes, key headers and cookies, HTTP/1.1 vs 2 vs 3, the TLS handshake, and where HTTPS terminates.
- 4.DNS: The Domain Name SystemBasic
How DNS turns names into addresses: the hierarchy, recursive resolution, caching and TTL, record types, DNS-based traffic routing and its limits.
- 5.Load BalancingIntermediate
Why and how to spread traffic across servers: L4 vs L7, balancing algorithms, health checks, sticky sessions, TLS termination, LB redundancy and global LB.
- 6.Forward Proxy vs Reverse Proxy vs API GatewayBasic
What forward proxies, reverse proxies, load balancers and API gateways each do, how Nginx's event-driven model works, and how to combine them.
- 7.Content Delivery Networks (CDN)Intermediate
How CDNs serve content from edge locations near users: push vs pull, what to cache, cache keys and invalidation, dynamic acceleration, security and cost.
- 8.Polling, Long Polling, SSE, WebSockets and WebhooksIntermediate
How servers push updates: short and long polling, server-sent events, WebSockets, webhooks and WebRTC, compared, with guidance for chat, feeds and dashboards.