Design the Customer and Pro Messaging Inbox
Last updated: November 29, 2026
Quick Overview
Design the messaging system Thumbtack customers and pros use to discuss a job, including message delivery, unread counts, push, SMS and email fallback notifications, and attachments such as photos of the work site.
Thumbtack
November 29, 20260
0
0 solved
Design the messaging system Thumbtack customers and pros use to discuss a job, including message delivery, unread counts, push, SMS and email fallback notifications, and attachments such as photos of the work site.
After a match, most of the value on Thumbtack happens in conversation: quotes, photos, scheduling. The interviewer checks a sensible data model for threads tied to a request, reliable notification fan-out and correct unread state across devices.
What the Interviewer Expects
- Models a thread per (request, pro) with ordered messages
- Explains real-time delivery plus offline notification fallback
- Keeps unread counts consistent across web and mobile
- Handles attachments through object storage and signed URLs
- Addresses abuse, PII and contact-info leakage policies
- Gives rough scale estimates
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you avoid sending a push and an SMS for the same message when the user is already reading it?
- How would you guarantee message ordering in a thread?
- How would you detect pros trying to move customers off platform?
- How would you store and search years of message history?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: send and receive text and photos within a thread tied to a request and a pro; list threads with last message and unread count; notify the recipient via push, email or SMS if they are not a...
High-Level Design
Clients connect over WebSocket to a Gateway when active. Send path: client posts to Message Service with a client-generated idempotency key; the service writes to a Messages table partitioned by `thre...