Design Typing Indicators and Read Receipts for Teams Chats
Last updated: November 29, 2026
Quick Overview
Design the ephemeral signals in Microsoft Teams 1:1 and group chats that show who is typing and who has seen each message, for chats of up to a few hundred people.
Microsoft
November 29, 20260
0
0 solved
Design the ephemeral signals in Microsoft Teams 1:1 and group chats that show who is typing and who has seen each message, for chats of up to a few hundred people.
A shorter design question used in Microsoft phone or technical screens to see whether a candidate can tell durable data from ephemeral signals. The interviewer is checking that you do not push typing events through the message store and that read receipts are modeled compactly.
What the Interviewer Expects
- Treats typing as ephemeral, best effort and never persisted
- Throttles typing events on the client
- Stores read receipts as a per-member watermark, not per message
- Respects privacy settings that turn read receipts off
- Explains behavior for large group chats
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
- What changes if the chat has 250 members instead of 3?
- How do you show 'Seen by 4' without storing a row per message per member?
- What happens when a user has Teams open on two devices?
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
Typing: when a member types, other online members of the chat see 'Alex is typing' within about 300 ms, and it disappears a few seconds after they stop. Read receipts: each message shows whether it wa...
High-Level Design
Clients hold a persistent WebSocket to a gateway tier. A presence/ephemeral router keeps an in-memory map of chatId -> set of gateway connections for currently open chats. Typing goes client...