Design a Chat App

Talk it through out loud with your AI coach.

The problem

  • hard
  • Pro

Design the back end of a chat app with one-to-one and group conversations, where messages appear instantly for people who are online and are waiting for people when they come back. Explain how messages travel, how you store them, and how you'd scale to millions of users.

What a strong answer covers

  • How messages reach online users the moment they're sent.
  • How messages cross between servers and wait for people who are offline.
  • How messages are stored and kept in order at high volume.
  • Reliability and scale concerns, including large groups and presence.

Common mistake: Having clients poll the server every second, which wastes resources and still feels slow.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud