InterviewDB Question

Chat Messages: Design a Scalable Chat Message Storage and Retrieval System

Question Details

Round 1 - System Design Problem Design the backend storage and retrieval system for a chat application. Requirements: Users can send messages in 1:1 and group conversations Retrieve messages for a conversation paginated by time (newest-first) Support message search by keyword within a conversation Message delivery guarantees: at-least-once; UI deduplicates by message_id Scale: 100M DAU, 10B messages/day Key Design Decisions Data model: (conversation_id, message_id, sender_id, content, ts) — part…

Full Details

🔒

Unlock all Reddit questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a reddit interview during the phone round.

It covers the following topics: System Design, Coding, Phone, Onsite .