Search
Lessons (9)
- Proxies, APIs and Real-Time Protocols
… a queue is not a WebSocket , and a WebSocket is not a saved message history . Pick by what …
- Design a Chat Application
… An open WebSocket connection does not prove anyone saw the message. Failures and scale A gateway crashes: its …
- Collaborative Document Editing & Real-Time Sync
… clients keep a live WebSocket (a connection that stays open so the server can push messages any time …
- Real-Time, Pub/Sub, Webhooks and CDC
… talk back and forth (chat, multiplayer game)? Use WebSockets (a two-way connection that stays open). - Another company …
- REST vs GraphQL vs gRPC
… caching ✅ Easy (GET + CDN) ❌ Harder ❌ No Streaming SSE / WebSockets separately Subscriptions ✅ Built in Browser support ✅ Native ✅ Native ⚠️ Needs …
- Serverless Architecture
… workloads, long-running or stateful processes (game servers, WebSocket-heavy apps), ultra-low-latency paths where cold starts …
- Nginx Reverse Proxy & HTTPS
… for; proxy set header X-Forwarded-Proto $scheme; WebSockets (Next.js dev, Socket.IO, live updates) proxy http …
- System Design Interview Framework
… 000 messages per second." 3. "Phones keep a WebSocket open to a gateway. A message goes to the …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… null } Polling every few seconds is simple and works through any proxy. Server-sent events or WebSockets (live …