Batch, Streaming, and Real-Time Serving Trade-offs Questions

Reasoning about when to use batch, micro-batch, or continuous streaming and how to serve low-latency analytics: latency, cost, complexity, and correctness trade-offs; lambda vs kappa architectures; and reprocessing semantics. Covers real-time aggregation, freshness vs consistency trade-offs, and reconciling streaming results with batch ground truth, including geospatial and high-throughput real-time workloads under eventual consistency. The data-systems judgment topic for choosing and reconciling batch versus real-time approaches, distinct from the hands-on streaming transport itself.

HardTechnical
39 practiced

A product owner requests a near-real-time dashboard that requires substantial infrastructure investment. Propose a negotiation and decision framework to choose between real-time, near-real-time (5-15 minute latency), or batched (hourly/daily) solutions, including how you would quantify the benefits, costs, and risks of each option for someone without a technical background.

HardSystem Design
36 practiced

A client needs dashboards with near-real-time analytics. Design a hybrid architecture that delivers low-latency slices where they matter and cheaper batch aggregates everywhere else, while minimizing duplication of transformation logic between the two paths. Explain how you keep the two paths from silently disagreeing, and how you'd resolve it when they do.

HardTechnical
36 practiced

Your streaming aggregation for daily totals disagrees with the nightly batch totals by 2% for the last month. The streaming pipeline uses a 5-minute watermark and 10 minutes of allowed lateness. Walk through an investigation and remediation plan: how would you quantify the impact of late events on the discrepancy, and how would you correct the historical daily totals once you know the cause?

MediumTechnical
29 practiced

Late-arriving events cause a daily metric to change after it's already been published to a dashboard executives look at. Describe a production strategy that balances freshness with correctness: when do you hold a number, when do you correct it after the fact, and how do you surface a corrected value so it doesn't read as your reporting being unreliable?

EasyTechnical
34 practiced

Explain the real differences between batch processing and stream processing for a production data platform: latency, throughput, cost, operational complexity, and correctness. Give one concrete workload that clearly favors each approach, and describe a scenario where a hybrid of the two is the right call.

Unlock Full Question Bank

Get access to all 13 Batch, Streaming, and Real-Time Serving Trade-offs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.