Search

Lessons (4)

  • Proxies, APIs and Real-Time Protocols

    Pick REST, RPC, queues, long polling, WebSockets, TCP or UDP based on the interaction shape. ![Communication choices: reverse …

  • Design a Chat Application

    … offline notifications. ![Chat separates durable conversation storage from WebSocket fan-out, presence and offline push paths](/img/system …

  • 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 …