Design a Crash Reporting Pipeline for Android Apps Like Crashlytics
Last updated: November 29, 2026
Quick Overview
Design a service that collects crash and ANR reports from Android apps in the field, symbolicates and groups them into issues, and shows developers crash-free user rates and new issue alerts in near real time.
0
0
0 solved
Design a service that collects crash and ANR reports from Android apps in the field, symbolicates and groups them into issues, and shows developers crash-free user rates and new issue alerts in near real time.
Firebase Crashlytics is a Google product that app developers rely on, and this question tests ingestion from unreliable devices, stack trace deobfuscation, and grouping millions of reports into a small number of meaningful issues. Interviewers probe the grouping heuristic and how crash-free rates are computed correctly.
What the Interviewer Expects
- Design an SDK that captures crashes and uploads on next launch
- Deobfuscate stack traces using uploaded mapping files
- Group reports into issues with a stable signature
- Compute crash-free users per version accurately
- Alert on new issues and regressions
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 group crashes whose top frame is inside a shared library?
- How do you handle a crash loop where the app crashes before upload?
- How would you sample if one bad release produces millions of reports per minute?
- How do you handle native (NDK) crashes?
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: capture Java or Kotlin crashes, native crashes and ANRs with device metadata and breadcrumbs; show issues ranked by users affected; crash-free user rate per app version; alerts for new...
High-Level Design
- SDK: installs an uncaught exception handler that writes the report to disk synchronously; on next launch, a background worker uploads it. It also sends a tiny session-start ping for denominators...