12 · Engineering craft

Networking

HTTP, caching, WebSockets, and everything above the socket.

Networking question bank 26 questions · 5 categories

The pipe between your app and the data. Real-time, protocols, and caching decisions dominate system-design rounds.

HTTP & protocols

Topic Difficulty Time Tags Best Resources
HTTP methods, status codes, headers 🟢 45m #http #basics MDN: HTTP ⭐
HTTP/1.1 vs HTTP/2 🟡 45m #http #performance web.dev: HTTP/2 ⭐
HTTP/3 & QUIC 🔴 45m #http #performance Cloudflare: HTTP/3 ⭐
TLS / handshake 🟡 45m #tls #security Cloudflare: TLS handshake ⭐
DNS 🟢 30m #dns #basics Cloudflare: DNS ⭐
Fetch, XHR & request cancellation 🟢 45m #fetch #api MDN: Fetch ⭐

API styles

Topic Difficulty Time Tags Best Resources
REST API design 🟡 1h #rest #api MDN: REST ⭐
GraphQL 🟡 1.5h #graphql #api graphql.org: learn ⭐
gRPC / gRPC-Web 🔴 45m #grpc #api grpc.io ⭐
Pagination (cursor vs offset) 🟡 45m #api #large-data Flagship ⭐

Real-time

Topic Difficulty Time Tags Best Resources
WebSocket 🔴 1h #realtime #websocket MDN: WebSocket ⭐
Server-Sent Events (SSE) 🟡 45m #realtime #sse MDN: SSE ⭐
Polling vs long-polling vs push 🟡 45m #realtime #patterns Ably: long-polling ⭐
WebRTC (P2P) 🔴 1h #realtime #webrtc WebRTC ⭐
WebTransport 🔴 45m #realtime #modern web.dev: WebTransport ⭐

Caching, CDN & reliability

Topic Difficulty Time Tags Best Resources
HTTP caching (Cache-Control, ETag) 🟡 1h #caching MDN: HTTP caching ⭐
CDN & edge caching 🟡 45m #cdn #caching Cloudflare: CDN ⭐
Compression (gzip/brotli) 🟢 30m #performance web.dev ⭐
Load balancing (client view) 🟡 45m #scale Cloudflare ⭐
Rate limiting & retries/backoff 🟡 45m #reliability AWS: backoff & jitter ⭐
Idempotency & request dedupe 🟡 45m #reliability Stripe: idempotency ⭐

❓ Rapid-fire networking interview questions

Real networking questions asked at the SDE-2 / senior level. Answer out loud, then verify above.

  1. HTTP/1.1 vs HTTP/2 vs HTTP/3 — what improved?
  2. WebSocket vs SSE vs polling — when do you use each?
  3. How does HTTP caching work (Cache-Control, ETag, 304)?
  4. What is CORS and what triggers a preflight request?
  5. REST vs GraphQL — trade-offs?
  6. What is a CDN and how does it speed things up?
  7. What happens during a TLS handshake?
  8. What are idempotent HTTP methods?
  9. How do you cancel an in-flight request (AbortController)?
  10. Cursor vs offset pagination — why does it matter?
  11. How do you implement retries with exponential backoff?
  12. What is DNS and how does resolution work?
  13. What is gzip/brotli compression?
  14. How does content negotiation work?
  15. What is request idempotency and why does checkout need it?

Related: 09-performance · 13-state-management · 17-interview-patterns

Missing something? Add a row.

ESC

Type to search across every question bank.

navigate open 3,610 questions indexed