Design Alexa Announcements Broadcast to Every Echo in a Household

Last updated: November 29, 2026

Quick Overview

Design the feature where a user says 'Alexa, announce dinner is ready' and the audio plays on all Echo devices in the household within a second or two, skipping devices in Do Not Disturb.

Amazon
System Design
Software Engineer
Amazon
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the feature where a user says 'Alexa, announce dinner is ready' and the audio plays on all Echo devices in the household within a second or two, skipping devices in Do Not Disturb.

Devices teams ask this to see if you understand persistent connections to millions of IoT devices and low-latency fan-out. The interviewer checks how you route to devices, handle offline ones, and keep audio delivery fast.

What the Interviewer Expects
  • Describe the device connection model and how a device is addressed
  • Resolve household membership and device settings
  • Store the audio once and send a pointer, not the payload, in fan-out
  • Define latency budget and what happens to offline devices
  • Consider synchronized start across devices
Key Topics to Cover
IoT Messaging
Fan-Out
Persistent Connections
Low Latency
Device Registry
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you make playback start at the same moment on all devices?
  • How do you prevent a compromised device from announcing to other households?
  • What changes if announcements can target a specific room group?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: a spoken or app announcement is delivered to all devices in a household except the source and any in DND; supports text-to-speech or recorded audio. Non-functional: end-to-end under 2 seco...

High-Level Design

Every Echo keeps a long-lived MQTT or HTTP/2 connection to a Device Gateway fleet; a Connection Registry maps device_id -> gateway_node. The request comes in through the voice pipeline, which produc...


Submit Your Answer
Markdown supported