Index/Networking from the client

Get Premium
CourseFrontend System Design · 0316 minPremium

Networking from the client

The client's side of the API: choosing REST, GraphQL or RPC for a screen, designing pagination for infinite lists, retries and timeouts that do not make outages worse, cancelling and deduplicating requests, and picking between polling, SSE and WebSockets for live data.

Premium

Part of the Frontend System Design course, on the Premium plan

Readers with Lifetime Access read it in full. Already bought it? Sign in from the top bar.

What’s inside

  • 1. REST, GraphQL and RPC, as a client sees them
  • 2. Pagination for infinite lists
  • 3. Timeouts and retries
  • 4. Cancellation, races and deduplication
  • 5. Live data: polling, SSE and WebSockets
  • In the interview
  • What goes wrong
  • Drills
  • Check yourself