Back to Topics

Networking

Master network protocols, TCP/IP, HTTP, DNS, and how data flows through networks.

When systems degrade, time out, or fail in non-obvious ways, the root cause almost always lives in the network stack—TCP, DNS, TLS, HTTP.

These topics help you build a precise mental model of how requests move across boundaries, where latency accumulates, and how failures propagate. You'll learn to reason about trade-offs, diagnose issues under real constraints, and clearly explain why a system behaves the way it does—whether you're debugging production or defending a design in an interview.

Topics in this category

OSI Model (7 Layers)

Read →

Learn the OSI 7-layer model for understanding network communication protocols.

Beginner10 min

TCP vs UDP

Read →

Compare TCP and UDP protocols, their characteristics, and when to use each.

Beginner8 min

Three-Way Handshake (TCP)

Read →

Learn how TCP establishes connections using the three-way handshake (SYN, SYN-ACK, ACK).

Beginner6 min

TCP Connection Termination (FIN/ACK)

Read →

Understand how TCP connections are terminated gracefully using FIN and ACK packets in a four-way handshake.

Beginner8 min

IP Addressing (IPv4/IPv6)

Read →

Master IP addressing: IPv4 (32-bit) and IPv6 (128-bit) addresses, address classes, CIDR notation, and subnetting.

Beginner12 min

Subnetting & CIDR

Read →

Master subnetting and CIDR notation for efficient IP address allocation, network segmentation, and network design.

Medium12 min

DNS Resolution Flow

Read →

Understand how DNS resolves domain names to IP addresses: iterative vs recursive queries, DNS hierarchy, and caching.

Medium10 min

HTTP/1.1 vs HTTP/2 vs HTTP/3

Read →

Compare HTTP versions: HTTP/1.1 (persistent connections), HTTP/2 (multiplexing, header compression), and HTTP/3 (QUIC, UDP-based).

Medium12 min

HTTPS Internals: Concepts, Internals & Interview Use Cases

Read →

Learn how HTTPS works: TLS encryption, certificate validation, and secure communication.

Medium9 min

TLS/SSL Handshake: Concepts, Internals & Interview Use Cases

Read →

Master the TLS/SSL handshake process for establishing secure encrypted connections, including certificate validation, key exchange, and cipher suite negotiation

Medium12 min

Load Balancers (L4 vs L7)

Read →

Compare Layer 4 (transport) and Layer 7 (application) load balancers, their use cases, and when to use each type.

Medium11 min

Routing Protocols (OSPF, BGP)

Read →

Learn routing protocols: OSPF (link-state) and BGP (path-vector) for internet routing. Understand how routers exchange routing information and build routing tab

Medium13 min

NAT & PAT

Read →

Understand Network Address Translation (NAT) and Port Address Translation (PAT) for connecting private networks to the internet and conserving IPv4 addresses.

Medium10 min

ARP / Reverse ARP

Read →

Master ARP (Address Resolution Protocol) for mapping IP addresses to MAC addresses on local networks, and Reverse ARP for the opposite mapping.

Medium9 min

DHCP Flow: Concepts, Internals & Interview Use Cases

Read →

Learn how DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses, subnet masks, gateways, and DNS servers to network devices.

Beginner9 min

Latency vs Throughput vs Bandwidth

Read →

Understand the differences between latency, throughput, and bandwidth in networking.

Beginner7 min

gRPC: Concepts, Internals & Interview Use Cases

Read →

Learn gRPC: high-performance RPC framework using HTTP/2 and Protocol Buffers. Understand service definition, streaming, and comparison with REST.

Medium12 min

WebSockets: Concepts, Internals & Interview Use Cases

Read →

Learn WebSocket protocol for full-duplex, persistent communication between client and server. Understand handshake, frame format, and use cases.

Medium11 min

QUIC Protocol: Concepts, Internals & Interview Use Cases

Read →

Master QUIC protocol: UDP-based, encrypted, multiplexed transport for HTTP/3. Understand connection migration, zero-RTT, and improvements over TCP.

Medium11 min

Cross-Origin Resource Sharing (CORS)

Read →

Master CORS: how browsers handle cross-origin requests, preflight requests, and security policies for web applications.

Medium10 min

Keep-alive vs Long Polling

Read →

Compare HTTP keep-alive and long polling techniques for maintaining connections and real-time communication.

Medium8 min

Connection Pooling: Concepts, Internals & Interview Use Cases

Read →

Understand connection pooling to reuse database and network connections efficiently, reducing overhead and improving performance.

Medium9 min

CDN Routing: Concepts, Internals & Interview Use Cases

Read →

Understand how Content Delivery Networks route requests to nearest edge servers for optimal performance and reduced latency.

Medium9 min

Proxy vs Reverse Proxy

Read →

Understand the difference between forward proxies (client-side) and reverse proxies (server-side), their use cases, and when to use each.

Medium10 min

VPN (IPSec, SSL VPN)

Read →

Understand VPN technologies: IPSec and SSL VPN for secure remote access, tunneling, and encrypted communication over public networks.

Medium10 min

Anycast vs Unicast vs Multicast

Read →

Compare network addressing methods: unicast (one-to-one), multicast (one-to-many), anycast.

Medium8 min

QoS: Concepts, Internals & Interview Use Cases

Read →

Learn Quality of Service (QoS) for prioritizing network traffic and managing bandwidth.

Medium8 min

DDoS Protection Techniques

Read →

Learn DDoS protection: rate limiting, filtering, CDN, and mitigation strategies.

Medium10 min

Firewall Rules & ACLs

Read →

Learn firewall rules and Access Control Lists (ACLs) for network security, packet filtering, and access control.

Medium9 min

Packet Sniffing & Tools (tcpdump, Wireshark)

Read →

Learn packet sniffing tools: tcpdump and Wireshark for network analysis and debugging.

Medium9 min