GOAT EngineerPreparing your learning space…

Practice problems · Category

Real-time messaging problems

Push to connected users.

A real-time messaging problem is about pushing to connected users. Each phone holds a live connection to one server, so a message has to find that server, and when a server dies all of its clients come back at once. Spreading those reconnects over a few seconds keeps the servers still up from refusing them. Saving before pushing is what keeps someone offline from losing anything.

The real-time messaging problems

  1. Scale WebSockets Across Servers: Practice

    Route each message to the one server holding its recipient's WebSocket, and survive a server dying. Practise connection directories and reconnects.

By GOAT Engineer. Practice problems · Privacy Policy · Contact.