Skip to content

Networking Fundamentals


OSI Model

OSI Model


TCP/IP

TCP (Transmission Control Protocol)

TCP Characteristics

TCP Three-Way Handshake

TCP Three-Way Handshake

TCP Connection Termination

TCP Connection Termination

TCP vs UDP

TCP vs UDP


HTTP/1.1 vs HTTP/2 vs HTTP/3

HTTP Protocol Evolution

HTTP/2 Multiplexing

HTTP/2 Multiplexing


TLS/SSL

TLS Handshake

TLS 1.2 Handshake

TLS 1.3 (Faster)

TLS 1.3 Handshake


DNS (Domain Name System)

DNS Resolution Process

DNS Resolution


Load Balancing

Load Balancing Algorithms

Load Balancing Algorithms

Layer 4 vs Layer 7 Load Balancing

L4 vs L7 Load Balancing


WebSockets

WebSockets


Server-Sent Events (SSE)

Server-Sent Events


CDN (Content Delivery Network)

CDN


Connection Pooling

Connection Pooling


Common Interview Questions

  1. TCP vs UDP?
  2. TCP: Reliable, ordered, connection-based
  3. UDP: Fast, no guarantee, connectionless

  4. What happens when you type URL in browser?

  5. DNS resolution → TCP handshake → TLS handshake
  6. HTTP request → Server processing → Response rendering

  7. HTTP/2 vs HTTP/1.1?

  8. HTTP/2: Binary, multiplexing, header compression
  9. Single connection for multiple requests

  10. How does HTTPS work?

  11. TLS handshake establishes encrypted channel
  12. Certificate verification, key exchange
  13. Symmetric encryption for data

  14. Layer 4 vs Layer 7 load balancing?

  15. L4: TCP/IP level, faster, no content awareness
  16. L7: HTTP level, content-based routing, SSL termination

  • *