All Questions
Real Time Updates easy

What is the role of a 'Pub/Sub' (Publish-Subscribe) system in a chat app?

  1. A It stores the chat logs in the database.
  2. B It routes a message sent by one user to all other users who are 'listening' to that specific chat room.
  3. C It authenticates the user.
  4. D It compresses the images.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions