Tagged “Networking”
4 articles with this tag.
- DNS and the request lifecycleThe full journey of a web request: URL parsing, browser and OS caches, recursive DNS resolution through root, TLD and authoritative servers, record types and TTLs, DNS-based load balancing and GeoDNS, TCP and TLS handshakes, HTTP/1.1 versus HTTP/2 versus HTTP/3, CDNs, and how the browser renders the page.
- Load balancing and proxiesHow traffic is spread across servers: where load balancers sit, layer 4 versus layer 7, algorithms (round robin, weighted, least connections, least response time, IP hash, consistent hashing), health checks, smart clients versus hardware and software balancers like HAProxy, redundant balancers, and forward versus reverse proxies.
- Real-time communicationHow servers push data to clients over HTTP: short polling, long polling (hanging GET), WebSockets for full-duplex communication, and Server-Sent Events for one-way streams — how each works, overhead, scaling stateful connections, fallbacks, and Spring support.
- Distributed systems faultsWhy distributed systems are hard: partial failures, unreliable networks and timeouts, why you cannot distinguish a slow node from a dead one, time-of-day versus monotonic clocks, clock skew and last-write-wins, process pauses, the majority deciding truth, leases and fencing tokens, Byzantine faults and system models.