21
A service needs to process a huge stream of click events. What would you use for ingestion?
Tap to write answer
0 words | 0 charsPress Enter ↵ to reveal
Your Attempt
0 wordsRefined Model Answer
ReferenceI would use a durable streaming layer so producers can write events quickly without waiting for downstream consumers. The system should partition events by a stable key, batch writes where possible, and allow multiple consumers to process different partitions in parallel. The reason I choose streaming ingestion is that it scales much better than trying to write everything directly into a database. I would also think about backpressure, replay, and schema evolution because click streams tend to grow quickly over time. If the interviewer asks, I would explain how I would move from raw events to aggregates.