Skip to content
M LearnwithManoj

REST vs WebSockets vs SSE - When to Use Each (System Design #13)

Building a chat app? A live dashboard? A REST API? Each needs a completely different communication model - and picking the wrong one is a costly mistake.

1 min read

Building a chat app? A live dashboard? A REST API? Each needs a completely different communication model - and picking the wrong one is a costly mistake.

What’s in the video (7m 6s)

  • 0:00 — Proxies, Reverse Proxies, and API Communication Models
  • 0:52 — What is a Proxy Server?
  • 1:37 — Forward Proxy vs Reverse Proxy
  • 2:27 — Reverse Proxy Benefits
  • 2:43 — Importance of Load Balancing
  • 3:31 — What is REST API or Request-Response Model?
  • 4:22 — HTTP Push vs HTTP Pull
  • 5:16 — What is Web Sockets?
  • 5:39 — What is Server-Sent Events (SSE)?
  • 6:02 — Choosing the Right API Communication Model Based on the Use Case

Resources

For more in this series, visit the #system-design tag page or jump to the channel uploads list for everything else.

Related posts