Design a Durable Concurrent Event Writer
Last updated: July 7, 2026
Quick Overview
Design a system that allows multiple clients to write events concurrently while ensuring durability and consistency.
Databricks
July 7, 202627
0
241 solved
Design a system that allows multiple clients to write events concurrently while ensuring durability and consistency.
This question is typically asked during onsite interviews for software engineering roles at Databricks to assess a candidate's ability to design scalable and reliable systems. Interviewers are looking for an understanding of concurrency, durability, and how to handle potential conflicts in a distributed environment. Candidates should demonstrate their knowledge of system design principles and their ability to think critically about trade-offs.
What the Interviewer Expects
- Identify key requirements for durability and concurrency.
- Propose a high-level architecture for the event writer system.
- Discuss potential challenges and how to address them.
- Explain trade-offs involved in the design choices.
- Consider scaling and performance implications.
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 would you handle data consistency in your design?
- What strategies would you use to recover from failures?
- Can you explain how your system would scale with increased load?
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
To design a durable concurrent event writer, we first need to define the requirements. The system must ensure that all events are written reliably, even in the presence of failures. It should support ...
High-Level Design
The high-level architecture could consist of several components: a load balancer to distribute incoming write requests, a set of event writers that handle the actual writing process, and a durable sto...