Design Crash Report Bucketing for Windows Error Reporting
Last updated: November 29, 2026
Quick Overview
Design the pipeline that receives crash reports from Windows and apps, groups crashes with the same root cause into buckets, and helps engineers prioritize the buckets affecting the most users.
Microsoft
November 29, 20260
0
0 solved
Design the pipeline that receives crash reports from Windows and apps, groups crashes with the same root cause into buckets, and helps engineers prioritize the buckets affecting the most users.
Windows Error Reporting is a long-running Microsoft system that collects crashes at huge scale, so this is a natural question for Windows and devices teams. The interviewer looks for a two-phase upload (small signature first, dump only when needed), symbolication, bucket signature design and prioritization.
What the Interviewer Expects
- Uses a lightweight first-stage report and requests full dumps only for buckets that need them
- Computes bucket signatures from module, version, offset or symbolicated top frames
- Symbolicates stacks using a symbol server
- Counts unique devices and trends per bucket and build
- Routes buckets to owning teams and links to bugs
- Handles PII in memory dumps
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
- Two crashes have the same top frame in a common library but different callers. Same bucket or not?
- How do you avoid uploading a 200 MB dump from every device for a known crash?
- How would you detect that a new build introduced a crash spike?
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
Billions of devices; a crash on any of them can produce a report. Many crashes are duplicates of known issues. Engineers need per-bucket counts, affected builds, sample dumps and trends within hours. ...
High-Level Design
- On crash, the OS creates a stage-one report: app name and version, faulting module and version, exception code, offset, OS build, and a minidump kept locally.
- Client sends stage one to the *...