Question 4 of 10Pro Only

Design a real-time chat system that supports one-on-one messaging, group chats, and online presence indicators for millions of users.

Sample answer preview

A real-time chat system at scale requires careful design across connection management, message delivery, storage, and presence tracking. Here is how I would architect it to support millions of concurrent users.

WebSocketconnection gatewaymessage queuepresencefan-outpub/sub

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Solutions Architect interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime