System Design · Stubhub · Medium
Design the messaging backend for an internal chat application at a company operating an event marketplace. The platform must support real-time one-to-one messaging between employees. Each client maintains a persistent WebSocket connection, but connections are load-balanced across many chat servers; the sender and recipient may therefore be attached to different nodes. When a user is online, incoming messages should be delivered right away. When the user is offline, messages…
Checking your access…