Walk Through a Past Project: Diagram, Ownership, and Design Trade-offs
BehavioralModel answerLast updated
Present a real engineering project with a data-flow diagram, then go deep on your personal contribution, a key design decision, and how you validated the result.
Walk Through a Past Project: Diagram, Ownership, and Design Trade-offs
Pick a meaningful engineering project you worked on and explain it to another engineer from the ground up. You'll do this in two parts: first, make the system legible with a diagram; second, go deep on the design and your specific role in it.
Part 1 — Make the System Legible
Start with the problem the system was built to solve. Then sketch or describe a simple component-and-data-flow diagram covering the main pieces and how data or control moves between them. Walk through one concrete request or workflow end-to-end using that diagram.
What to cover:
- What each component is responsible for
- What flows between components and why
- Enough context for someone unfamiliar with the project to follow along
Part 2 — Go Deep on Design and Ownership
Pick one significant design decision from the project. Explain the alternatives you considered, why you landed where you did, and what you personally built or owned. Describe how your piece connected to the rest of the system, how it behaves under failure or unexpected load, and how you confirmed it actually met its goals.
What to cover:
- A clear boundary between what you owned versus what the team decided together
- Technical specifics: data structures, APIs, concurrency concerns, storage choices, or whatever is relevant
- Failure modes and how they're handled
- How you validated correctness or performance (tests, metrics, rollout strategy, etc.)
Constraints
- Use a real project with accurate technical detail. Anonymize or simplify anything confidential while keeping the technical relationships intact.
- If you use a hypothetical example, label it as such upfront.
- No particular stack or architecture is required.
Clarifying Questions Worth Asking
Before diving in, it's reasonable to check:
- What's the interviewer's background — should you define domain-specific terms, or can you assume familiarity?
- Is the focus the original design, a later revision, or how the system behaved in production?
Hints
Hint 1
Start with a one-sentence problem statement before drawing anything — it anchors the diagram and gives the interviewer a reason to care about every component you introduce.
Hint 2
Be explicit about ownership boundaries. Interviewers are listening for 'I built X' versus 'we decided Y' — conflating the two reads as a red flag. Name what you personally wrote, debugged, and shipped.
Hint 3
Design decisions are only interesting with their trade-offs. For every choice you mention, name at least one alternative and the specific reason you ruled it out — cost, latency, operational complexity, team expertise, or whatever actually drove the call.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
What a Strong Answer Looks Like
Structure First
Before listing components, give the interviewer a one-sentence problem statement: what pain existed, who felt it, and roughly what scale. Something like "We needed to process 50k user-generated events per second with sub-second delivery to downstream consumers, and our existing synchronous pipeline was dropping events under load." That sentence makes every subsequent diagram box feel purposeful rather than arbitrary.
Part 1: The Diagram
A strong diagram has three properties: it is small, it is accurate, and every arrow is labeled.
Small means four to eight components. If you have more, you are describing implementation rather than architecture. Group related pieces (e.g., "auth service + session store" can be one box if neither is your focus).
Accurate means the arrows reflect real data flows, not aspirational ones. If the service actually polls rather than receives push events, draw a poll arrow.
Labeled arrows matter more than labeled boxes. "HTTP POST /events" or "Kafka topic: raw-clicks" tells the interviewer far more than a line with no annotation.
Walk through one concrete request — a user action, a batch job trigger, whatever is representative — tracing it through every component. Call out where latency accumulates, where state is written, and where failures can occur. This turns a static picture into a story.
Example sketch (prose form for a hypothetical event-ingestion system):
Client → [API Gateway] --HTTP POST--> [Ingest Service]
|
writes to [Kafka topic: raw-events]
|
[Stream Processor] --consumes-->
|
writes to [Cassandra: event-store]
|
[Query Service] --reads--> Client dashboard
Even this minimal sketch surfaces interesting questions: What happens if Kafka is unavailable? Who owns the schema for raw-events? Those are exactly the questions Part 2 should answer.
Part 2: Design, Ownership, and Validation
Lead with what you owned. Be specific: "I owned the Stream Processor end-to-end — the consumer group configuration, the deduplication logic, and the retry policy. I did not design the Kafka topic schema; that was a joint decision with the data platform team."
Pick one design decision and go deep. Breadth without depth reads as shallow. A strong candidate picks the decision with the most interesting trade-off — not necessarily the most technically complex one.
For example: Why Cassandra over PostgreSQL for the event store?
- Write volume was roughly 50k events/second sustained. PostgreSQL's single-leader replication would have required aggressive partitioning and we had no operational expertise to run it at that scale reliably.
- Cassandra's wide-column model fit the access pattern exactly: writes by
(user_id, timestamp), reads byuser_idwith time-range filters. We never needed cross-partition joins. - The downside was eventual consistency — a dashboard refresh could briefly show stale counts. We accepted that because the use case was analytics, not billing.
That answer demonstrates awareness of data model fit, operational constraints, and product-level impact of the trade-off. All three matter.
Describe failure behavior. Interviewers at senior levels almost always probe here. Cover at least two scenarios:
- What happens when a downstream dependency is unavailable? (Kafka down, Cassandra unavailable) — does the system degrade gracefully, queue up, or drop data?
- What happens under 10× expected load? — where is the bottleneck, and is it a hard failure or a soft one?
Saying "the ingest service returns 503 and the client retries with exponential backoff; events are not lost because the API gateway buffers up to 30 seconds" is concrete and credible. Saying "we have retry logic" is not.
Show your validation work. This is where many candidates are vague. Strong signals include:
- Load tests at specific throughputs ("we ran a 72-hour soak at 1.5× peak traffic before launch")
- A specific metric that defined success ("P99 end-to-end latency under 800ms")
- A rollout strategy that managed risk ("1% canary for 48 hours with automated rollback if error rate exceeded 0.1%")
- A post-launch finding that required a fix ("we discovered the consumer lag metric was misleading because it counted retries; we added a separate dead-letter queue length metric")
That last point — discovering something after launch and fixing it — signals engineering maturity more than a flawless story does.
Common Mistakes
- Narrating the entire team's work without clear personal attribution. If you catch yourself saying "we" for ten straight minutes, pause and reframe around what you specifically built and decided.
- Diagram as decoration. Drawing a diagram and then not referring back to it during the deep dive wastes the setup. Every design point should map to a box or arrow you already introduced.
- Skipping failure behavior. Presenting only the happy path suggests you haven't operated the system in production.
- Choosing a project that's too old or too unfamiliar. If you can't answer follow-up questions about specific numbers, APIs, or failure incidents, pick a different project.