Phase 2 · Networking & Traffic
Protocols, real-time transports, gateways, mesh and load balancing.
- DNS, TCP/UDP, HTTP/1.1 → HTTP/2 → HTTP/3 & TLS: Where every millisecond of a request goes before your handler runs — and the connection-management bugs that page senior engineers at 3am.
- REST vs gRPC vs WebSockets vs SSE vs Long Polling: Pick the right transport, then make it survive scale: connection servers, pub/sub fan-out, heartbeats, backpressure, reconnect storms and C1M capacity.
- Reverse Proxy, Forward Proxy, API Gateway & BFF: The edge of your system: what each layer does, where cross-cutting concerns belong, how BFFs aggregate, and how gateways fail.
- Service Mesh: Service-to-Service Traffic: Sidecars, control vs data plane, mTLS identity, retries and circuit breaking in the mesh, traffic splitting, ambient/sidecarless — and when not to adopt one.
- Load Balancing: L4/L7, Algorithms, Consistent Hashing: How traffic is spread, why algorithms fail in surprising ways, consistent hashing with virtual nodes, health checks, LB tiers, long-lived connections and draining.